[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #31174] octave3.2: axis equal/square incorrect
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #31174] octave3.2: axis equal/square incorrect for gnuplot 4.4 |
Date: |
Thu, 30 Sep 2010 17:34:13 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.13) Gecko/20100916 Iceweasel/3.5.13 (like Firefox/3.5.13) |
URL:
<http://savannah.gnu.org/bugs/?31174>
Summary: octave3.2: axis equal/square incorrect for gnuplot
4.4
Project: GNU Octave
Submitted by: None
Submitted on: Thu 30 Sep 2010 05:34:12 PM UTC
Category: Libraries
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Yann Vernier
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 3.2.4
Operating System: GNU/Linux
_______________________________________________________
Details:
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.
Debian bug #598059.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 30 Sep 2010 05:34:12 PM UTC Name: screenshot.png Size: 98kB By:
None
<http://savannah.gnu.org/bugs/download.php?file_id=21582>
-------------------------------------------------------
Date: Thu 30 Sep 2010 05:34:12 PM UTC Name: message.txt Size: 983B By:
None
<http://savannah.gnu.org/bugs/download.php?file_id=21583>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31174>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #31174] octave3.2: axis equal/square incorrect for gnuplot 4.4,
anonymous <=