Use decimal comma in plots

Ben Abbott bpabbott at mac.com
Wed Apr 9 12:10:57 CDT 2008


 
On Wednesday, April 09, 2008, at 12:38PM, "Alexey Torkhov" <atorkhov at gmail.com> wrote:
>Ben Abbott ?????:
>> On Wednesday, April 09, 2008, at 11:02AM, "Alexey Torkhov" <atorkhov at gmail.com> wrote:
>>> I need to use decimal comma in plots instead of dot.
>> 
>> It will depend upon which version of Octave you are using.
>I'm using 3.0.0.
>
>> The following should work, but does not display correctly for me.
>...
>> The decimal points remain periods ("."). If someone can verify I'll submit a but report.
>In my version it remains as points. And get(gca, 'xticklabel') is empty.
>Probably it's a bug.

Do you mean it is empty by default, or empty after set (gca, "xticklabel", xt) ?

The default behavior is for gnuplot to automatically produce the ticklabels ... which I don't think Octave has access to. Thus, when in automatic mode they show up empty. However, in manual mode they should be available. For the moment, this behavior is different than Matlab's. I suspect that once the new graphics back end is complete these issues will change.

Ben





More information about the Help-octave mailing list