[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Axis square
From: |
Michael Goffioul |
Subject: |
Re: Axis square |
Date: |
Tue, 14 Oct 2008 16:40:56 +0200 |
Basically:
"square" means
- plotboxaspectratio = [1 1 1]
- plotboxaspectratiomode = manual
"equals" means
- dataaspectratio = [1 1 1]
- dataaspectratiomode = manual
If both modes are set to manual, then Matlab adapts
the ranges to honor both dataaspectratio and plotboxaspectratio.
Michael.
On Tue, Oct 14, 2008 at 4:18 PM, John W. Eaton <address@hidden> wrote:
> On 14-Oct-2008, Marco Caliari wrote:
>
> | Dear maintainers,
> |
> | according to the help, "axis square" means that the axis should have a
> | "square aspect ratio" (as it is in Gnuplot) and it is different from "axis
> | equal". Instead, in scripts/plot/axis.m, square and equal have the same
> | meaning. The enclosed patches (against Octave 3.0.3) fix it (if it is a
> | bug).
>
> I don't think this is the right fix as "mode" properties should
> probably only have values of "manual" or "auto".
>
> To make the axes square, Matlab apparently looks at the data ranges
> and sets the dataaspectratio property appropriately while leaving the
> dataaspectratiomode property set to auto.
>
> I think we need to do the same thing so that after
>
> axis ('square')
>
> the axes properties are consistent with what they would be in Matlab.
> Otherwise, we are just asking for bug reports about this inconsistency.
>
> jwe
>
- Axis square and legendre.m, Marco Caliari, 2008/10/14
- Axis square, John W. Eaton, 2008/10/14
- Re: Axis square,
Michael Goffioul <=
- legendre.m, John W. Eaton, 2008/10/14
- Re: legendre.m, Marco Caliari, 2008/10/15
- Re: legendre.m, Ben Abbott, 2008/10/15
- Re: legendre.m, Ben Abbott, 2008/10/15
- Re: legendre.m, Ben Abbott, 2008/10/15
- Re: legendre.m, Marco Caliari, 2008/10/16
- Re: legendre.m [changeset], Ben Abbott, 2008/10/18
- Re: legendre.m [changeset], John W. Eaton, 2008/10/21