[Top][All Lists]

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

[Octave-bug-tracker] [bug #44307] Qt plotting: "Autoscale" option

From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #44307] Qt plotting: "Autoscale" option
Date: Thu, 19 Feb 2015 23:31:33 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0 SeaMonkey/2.30

Follow-up Comment #2, bug #44307 (project octave):

For 2D-plots, it works fine now both in qt and fltk; both middle-click and the
"A" button (fltk).

I found that for fairly complicated 3D plots, it doesn't do the actual
autoscaling (I didn't note before, only now that I too a closer look I saw
this): after zooming out, the plot isn't zoomed back in to "full data extent"
(xlim/ylim matching X/Y data ranges), neither with middle click nor "A" in
With simple plots ("plot3 ([0 1], [2 3], [4 5])") it seems to work better.

Moreover, it turns out that in 3D-plots zooming only works on the XY-axes; the
Z-axis isn't affected. The net effect is that 3D-plotted structures are
stretched/compressed in the Z-direction when zooming. 

Matlab (r2015a prerelease) zooms in continuously "isotropically" on 3D-plots
by holding down the left button and moving the mouse upward or to the right,
or left-click (stepwise); zooming out continuously by moving the mouse cursor
left or down, or shift-left-click for stepwise zooming.
It has a right-click menu with a few choices:
- Zoom out (Shift-click)
- Reset to original view (which does what is says, for 3D too)
- Zoom options =>  - unconstrained, - horizontal zoom, - vertical zoom; the
latter two only for 2D plots.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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