help-octave
[Top][All Lists]

## Re: Turn off TeX for legend labels

 From: Ben Abbott Subject: Re: Turn off TeX for legend labels Date: Tue, 14 Apr 2009 21:15:48 -0400

On Apr 14, 2009, at 7:57 PM, Ben Abbott wrote:

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

I've attached a changeset for the developers sources. If there are no objections, I'll push it tomorrow.

Ben

changeset-legend.patch
Description: Binary data