Turn off TeX for legend labels
Ben Abbott
bpabbott at mac.com
Tue Apr 14 20:15:48 CDT 2009
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: changeset-legend.patch
Type: application/octet-stream
Size: 2867 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20090414/06b7feb7/attachment.obj
-------------- next part --------------
More information about the Octave-maintainers
mailing list