[Pkg-octave-devel] Bug#598059: Bug#598059: octave3.2: axis equal/square incorrect for gnuplot 4.4
John W. Eaton
jwe at octave.org
Tue Sep 28 19:42:38 UTC 2010
On 26-Sep-2010, Yann Vernier wrote:
| Package: octave3.2
| Version: 3.2.4-7
| Severity: normal
|
|
| There is a bug in handling of 2d plots with Octave 3.2 and Gnuplot 4.4.
|
| I found that while axis equal or axis square change the plot, both
| on screen and in print, it does not calculate the ratios correctly.
| Whatever it is setting seems dependent on the window shape, which really
| should never affect the printout.
|
| Forcing __gnuplot_has_feature__("screen_coordinates_for_{lrtb}margin")
| to 0 fixes this problem. That variable appears to be intended to handle
| some change in gnuplot 4.3, which I am not aware of.
| Within __go_draw_axes__ that variable affects not only margin
| calculation but disables setting of gnuplot parameters origin and size.
| The variable also affects the axis command itself, as dataaspectratio
| seems to change format.
|
| "axis equal" and "axis square" should be equivalent to gnuplot "set size
| ratio -1" and "set size ratio 1" respectively.
|
| Additionally, there seems to be a developer note about this in
| __go_draw_axes__:
| ## FIXME -- nothing should change for gnuplot 4.2.x.
| Whoever wrote that probably has a better idea than I what's going on.
The right place to report a bug like this is the Octave bug tracker,
here:
https://savannah.gnu.org/bugs/?func=additem&group=octave
jwe
More information about the Pkg-octave-devel
mailing list