bugGNU Octave - Bugs: bug #36508, 2nd plotyy with "hold...

 
 

bug #36508: 2nd plotyy with "hold on" throws error

Submitter:  Ben Abbott <bpabbott>
Submitted:  Sun 20 May 2012 09:28:21 PM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  bpabbott
Originator Name:  Ben Abbott Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 18 Jun 2012 11:55:46 PM UTC, comment #1: 
Ben Abbott <bpabbott>
Group Member
Sun 20 May 2012 09:28:21 PM UTC, original submission:  

The short script below throws an error.


clf
hold on
t = [0:0.01:1];
x = sin (2 * pi * t);
y = 5 * cos (2 * pi * t);
plotyy (t, x, t, y)
plotyy (t, x, t, y)


The error is below.


error: get: invalid handle (= -56.277)
error: called from:
error:   /Users/bpabbott/Development/mercurial/default/scripts/plot/plotyy.m at line 162, column 10
error:   /Users/bpabbott/Development/mercurial/default/scripts/plot/plotyy.m at line 110, column 19
error:   /Users/bpabbott/Development/Octave_Toolbox/misc/notmy2.m at line 8, column 1
error: invalid conversion from real matrix to real scalar
error: __calc_dimensions__: expecting graphics handle as only argument
error: called from:
error:   /Users/bpabbott/Development/mercurial/default/scripts/plot/private/__go_draw_axes__.m at line 55, column 8
error:   /Users/bpabbott/Development/mercurial/default/scripts/plot/private/__go_draw_figure__.m at line 173, column 19
error:   /Users/bpabbott/Development/mercurial/default/scripts/plot/__gnuplot_drawnow__.m at line 86, column 5


Ben Abbott <bpabbott>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by bpabbott (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-06-29 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2012-06-18 bpabbott StatusNone Ready For Test
        Assigned toNone bpabbott

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code