plot issues
Petr Mikulik
mikulik at physics.muni.cz
Thu Jun 4 02:07:47 CDT 2009
> | > >set(h,'yscale','lin');
> | > >Octave supports 'log', but not 'lin'.
> | >
> | > Try
> | > set (h, "yscale", "linear")
> |
> | Yes, it works.
> | Can you please add "lin" as a synonym, in order to be compatible?
>
> Does Matlab also accept "li", "line", and "linea"? If so, then I
> suppose it is accepting the minimun number of characters to
> distinguish among the possible values. In that case, we should not
> simply add "lin" as another possible option for this one property, but
> instead fix the radio_property class to do this for all radio button
> properties.
You are right; all li, lin, line, linea, linear and lo, log combinations
work.
Also on, of and off are correct answers for "on|off", and similarly for
other string settings.
Furthermore, the set() command with two parameters only writes a list with
all possible options, while Octave prints an error message intead of such a
help message:
> set(h,'yscale');
error: set: invalid number of arguments
vs.
>> set(h, 'yscale')
[ {linear} | log ]
This help message would be very welcome in order to actually know which
options one can set.
It seems there is no documentation for various "set", right?
> That change should probably be done after the 3.2 release. Then if we
> stick with only fixing regressions in the 3.2.x release series, this new
> feature will appear in the next major release of Octave, not any 3.2.x
> release.
As the graphics compatibility seems to be one of the current main goals, I
would propose to push this fix as soon as it is ready.
---
Petr Mikulik
More information about the Bug-octave
mailing list