Turn off TeX for legend labels

Ben Abbott bpabbott at mac.com
Tue Apr 14 18:57:32 CDT 2009


On Apr 14, 2009, at 1:27 PM, andy buckle wrote:

>
> I have been able to set 'interpreter' to 'none' for titles and axes  
> labels,
> but I can't seem to get it to work for legends. I would be grateful  
> for
> advice. (I tried this on 3.0.1)

I haven't tried this on 3.0.1, but it works on 3.0.4

octave:1> x = 0:0.1:5;
octave:2> plot(x,sin(x),x,cos(x))
octave:3> legend ("\\alpha", "\\beta")
octave:4> set (findobj (gca, "-property", "keylabel"), "interpreter",  
"none")

Ben


More information about the Help-octave mailing list