octave-maintainers
[Top][All Lists]
Advanced

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

Re: help with pan, rotate3d, and zoom functions


From: Michael Goffioul
Subject: Re: help with pan, rotate3d, and zoom functions
Date: Sat, 13 Sep 2014 22:53:56 -0400

On Sat, Sep 13, 2014 at 11:47 AM, Andreas Weber <address@hidden> wrote:
Am 12.09.2014 21:32, schrieb John W. Eaton:
> I'm working on adding the zoom function to Octave.  I see we already
> have the pan and rotate3d functions.  I'd like to make all three of
> these as compatible with Matlab as possible.
>
> Currently, Octave's rotate3d and pan functions add a property to axes
> objects but in Matlab, pan and zoom work on figures instead of axes and
> rotate3d can apply to either figures or axes.

The reason that I implemented rotate3d and pan as axes properties was
because of subplots where the user might want to pan in one plot and
rotate in another. How does Matlab behave with subplots, especially if
there are mixed 2D (where rotate3D should be disabled) and 3D plots?

I don't think that how it's supposed to be working. I haven't used Matlab for years, but from documentation, it seems that "rotate3d" is just the same as using the rotate toolbar button in the figure window. And as such, it makes sense the property is set at the figure level. It would actually be very difficult to render in the UI (with the toolbar toggle buttons) if you wanted different "mouse modes" in subplots within the same figure.

Michael.


reply via email to

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