help-octave
[Top][All Lists]
Advanced

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

Re: [Fwd: Re: Greek letters in plot legend]


From: Carlo de Falco
Subject: Re: [Fwd: Re: Greek letters in plot legend]
Date: Mon, 7 Sep 2009 19:25:33 +0200


On 7 Sep 2009, at 18:04, Thomas Ilnseher wrote:

depends on what you need to do.

If you want to see it on the monitor, i can't help you.

If you need it in files, I have an advise for you:

octave:1> x=0:0.01:2*pi;
octave:2> y=sin(x);
^^ I plot something
octave:3> plot(x,y,'.-b;\$sin(\eta)$;');
                         ^^ I use latex stuff for the greek letters -
gnuplot complains

the following works fine for me with octave 3.2.2, gnuplot 4.2.5 and X11 display on a mac:

>> x=0:0.01:2*pi;y=sin(x);
>> plot(x,y);
>> legend('\sin(\eta)')

HTH,
c.


reply via email to

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