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: Shai Ayal
Subject: Re: [Changeset] plotyy leaves traces of previous plots
Date: Mon, 31 Mar 2008 23:10:03 +0300

On Mon, Mar 31, 2008 at 9:56 PM, David Bateman <address@hidden> wrote:
>
> 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..

Well, I really think we should test to see what matlab does in this
case, and only then decide what we should do. Can anyone test it?

Shai


reply via email to

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