help-octave
[Top][All Lists]

Re: LaTex interpreter

 From: Ben Abbott Subject: Re: LaTex interpreter Date: Thu, 16 Feb 2012 15:23:01 -0500

On Feb 16, 2012, at 3:13 PM, address@hidden wrote:

> Hi Ben, I'm ziv. not speaking english very well, so I would appreciate it if
> you take 2 minutes for me.
> I installed Octave 3.4.3 few weaks ago and i'm running a script (file.m) that
> my lecturer wrote.
> in this code you can find the order:
> xlabel('\omega_{\itn}','fontsize',16,'fontname','times');
> and the "omega" apears on the plot as the Latin alphabet.
> when I'm running it on my Octave the label seems like this:
> \omega_{\itn}
> and even if I add to the order: 'interprer', 'latex' or 'interpreter', 'tex'.
> I was tring so many things and I looked for answer in many questions in the
> As I allready said, It will be very polite with you to answer me.
> Best regards, Ziv Meri

Are you running Octave on Windows ?

If so, I suspect you are using the fltk backend because the individual who
packaged the Windows version included "graphics_toolkit fltk" in the
initialization file (.octaverc).

If you change to the gnuplot backend ...

close all
graphics_toolkit gnuplot
plot (rand (3))
xlabel ('\omega{\it n}', "interpreter", "tex")

... then the psuedo-TeX markup will function.

Octave does not yet support latex. If you choose "latex" it will behave as
"none" does.

Ben