octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #35321] invalid handle for legend after using


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #35321] invalid handle for legend after using plotyy
Date: Thu, 26 Jan 2012 02:04:58 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7

Update of bug #35321 (project octave):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #1:

I did some isolating. It appears that the 1st plotyy axes object is being
deleted by a call to __go_axes_init__(ax(2)), which is a built-in function.

Running the script below,


close all
clear all
x = 0:0.1:10;
y = sin (x);
ax = plotyy (x, y, x-1, y+1);
set (ax(1), "deletefcn", @(x,y) disp("*** Deleting 1st plotyy axes ***"));
__go_axes_init__ (ax(2))


Initializing ax(2) results in ax(1) being deleted.


*** Deleting 1st plotyy axes ***
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 167, column 19
error:  
/Users/bpabbott/Development/mercurial/default/scripts/plot/__gnuplot_drawnow__.m
at line 86, column 5


I'll have to rebuild with optimization off to make it easier to debug what is
happening. I'll report back later.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35321>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]