octave-maintainers
[Top][All Lists]
Advanced

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

Re: [Changeset] plotyy leaves traces of previous plots


From: David Bateman
Subject: Re: [Changeset] plotyy leaves traces of previous plots
Date: Mon, 31 Mar 2008 20:56:45 +0200
User-agent: Thunderbird 2.0.0.12 (X11/20080306)

John W. Eaton wrote:
> On 31-Mar-2008, David Bateman wrote:
> 
> | The remain issue is whether the manner to detect that the current axis
> | handle points to one of a plotyy set of axes handles is correct. I used
> | the activepositionproperty of the axis to do this, but I'm not sure this
> | is valid. So I'd appreciate feedback from Michael or Shai if you have
> | some advice on this point..
> 
> Matlab's documentation for newplot suggests that all it looks at is
> the nexplot property of the current figure and the current axes, and
> also the handlevisibility propery of the children of the current
> figure and axes objects.  It's not clear to me whether we can do more
> than that in the newplot function and have compatible behavior (which
> I realize we don't have now, even before the proposed changes).
> 
> jwe
> 

Then how does matlab handle the case "plotyy(x1,y1,x2,y3); plot(x3,y3)"?
Does it create a callback function that reinitializes the other plotyy
axis in  this case. Also how does it tell the difference from the above
case and "plotyy(x1,y1,x2,y2);plotyy(x3,y3,x4,y4)"? I think Michael or
Shai really has to give feedback on this to get it right, though my
proposed change seems to work fine for me..

In any case, even if you don't accept the changeset completely, the
change to __go_draw_axes__ should be applied as it fixes the issue of
the duplicated tics in plotyy windows.

D.



reply via email to

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