help-octave
[Top][All Lists]
Advanced

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

Re: Avoid interpreting legend text as TeX


From: Ben Abbott
Subject: Re: Avoid interpreting legend text as TeX
Date: Tue, 20 Sep 2011 18:08:46 -0400

On Sep 20, 2011, at 9:33 AM, Ben Abbott wrote:

> 
> On Sep 20, 2011, at 7:16 AM, Daniel Arteaga wrote:
> 
>> Hi,
>> 
>> How can avoid that a given text in a legend plot is interpreted as TeX? (it 
>> should be interpreted as plain regular text),.
>> 
>> I have tried:
>> 
>> legend(legend_array,'interpreter','none')
>> 
>> and
>> 
>> set(gcf(),'interpreter','none')
>> 
>> with no success.
>> 
>> Thank you very much!
>> 
>> Daniel
> 
> The proper approach is to ...
> 
> plot(1:10)
> h = legend ('hello_world')
> set (h, 'interpreter', 'none')
> error: updatelegendtext: subscript indices must be either positive integers 
> or logicals
> error: called from:
> error:   /Users/bpabbott/Development/mercurial/default/scripts/plot/legend.m 
> at line 816, column 11
> 
> Since this produces an error, I've filed a bug report.
> 
> https://savannah.gnu.org/bugs/index.php?34342
> 
> Ben

I've created a changeset that fixes the problem for the cases I've tried.

        https://savannah.gnu.org/bugs/index.php?34342

Ben





reply via email to

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