help-octave
[Top][All Lists]
Advanced

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

Re: Greek symbols in plot labels


From: DGati
Subject: Re: Greek symbols in plot labels
Date: Thu, 25 Aug 2011 10:06:25 -0700 (PDT)

Ron Crummett wrote:
> 
> Hi -
> 
> I am trying to add a label to a plot and the label is comprised of both 
> standard characters and Greek characters, for instance, "Frequency 
> between 0 and 2<pi>"  Of course, I want to use the actual character for 
> pi in the label.  This should be doable by setting my terminal type to 
> an enhanced type and issuing the command
> 
> xlabel('Frequency between 0 and 2{/Symbol p}');
> 
> However, when I do this, the entire label is displayed in Greek 
> characters and hence makes no real sense.  When I issue the command a 
> second time from the terminal it works.  But when I try issuing the 
> command twice in a script it doesn't work.  Is there something more I 
> need to do?  I know that technically this would be considered a gnuplot 
> question but it doesn't give problems in gnuplot leading me to believe 
> that the issue is somewhere in Octave-gnuplot interaction.
> 
> Thanks
> 
> -Ron
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
> 

To avoid having the entire label in Greek, you can use the \ character, like
this:
xlabel('Saving rate \gamma')

This only converts gamma to the real character. However, sometimes it
doesn't recognize some characters. I keep having issues with ro...

--
View this message in context: 
http://octave.1599824.n4.nabble.com/Greek-symbols-in-plot-labels-tp1604653p3768845.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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