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: Daniel Arteaga
Subject: Re: Avoid interpreting legend text as TeX
Date: Wed, 21 Sep 2011 16:07:47 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110918 Thunderbird/7.0

On 21/09/11 00:08, Ben Abbott wrote:

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

Thank you very much!

Daniel



reply via email to

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