help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ^{superscript} and _{subscript}' not working with 'xticklabelmode',


From: Ben Abbott
Subject: Re: ^{superscript} and _{subscript}' not working with 'xticklabelmode', 'manual'
Date: Fri, 19 Sep 2014 09:01:14 -0400

On Sep 19, 2014, at 8:41 AM, oxy <address@hidden> wrote:

> hi guys,
> 
> this does not work for me:
> 
>    fplot(@sin, [0  2*pi])
>    r0=1
>    r1=2
>    r2=4
>    set (gca, 'xticklabelmode', 'manual', 'xtick', [0  r1 r0 r2])
>    set(gca, 'xticklabel','0|r_{1}|r_{0}|r_{2}')
> 
> Any idea?
> Thx ...
> 
> Octave, version 3.8.2
> ubuntu 14.04

That will work when using the Gnuplot graphics toolkit, but does not work with 
the FLTK toolkit.

It doesn't work in Matlab either, but since axes objects in Octave have an 
"interpreter" property and Matlab does not, I think it should work in Octave.

Can you file a bug report?

        https://savannah.gnu.org/bugs/?group=octave

Ben





reply via email to

[Prev in Thread] Current Thread [Next in Thread]