help-octave
[Top][All Lists]
Advanced

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

RE: how to avoid '_' interpretation in plot legend ?


From: HALL, BENJAMIN PW
Subject: RE: how to avoid '_' interpretation in plot legend ?
Date: Mon, 6 Jul 2009 10:59:24 -0400

|-----Original Message-----
|From: Ben Abbott [mailto:address@hidden 
|Sent: Monday, July 06, 2009 10:51 AM

|
|On Monday, July 06, 2009, at 10:44AM, "Sergei Steshenko" 
|<address@hidden> wrote:
|>
|>
|>
|>--- On Mon, 7/6/09, Ben Abbott <address@hidden> wrote:
|>
|>> From: Ben Abbott <address@hidden>
|>> Subject: Re: how to avoid '_' interpretation in plot legend ?
|>> To: "Sergei Steshenko" <address@hidden>
|>> Cc: address@hidden
|>> Date: Monday, July 6, 2009, 7:40 AM
|>> 
|>> On Monday, July 06, 2009, at 08:59AM, "Sergei Steshenko"
|>> <address@hidden>
|>> wrote:
|>> >
|>> >Hello,
|>> >
|>> >if I enter, say, the following command:
|>> >
|>> >plot(1:10, 1:10, "-;foo_bar;1");
|>> >
|>> >, I'm getting straight red line plotted (and this is
|>> expected), but the 
|>> >legend says
|>> >
|>> >foobar
|>> >


|>
|>How to change legend interpreter to none ? I.e. what is the 
|exact command ?
|>
|>Thanks,
|>  Sergei.
|
|The legend does not presently have an interpreter property. 
|The rendering of the legend appears to use be presently using 
|the TeX interpreter. To change the behavior __go_draw_axes__.m 
|would need to be patched to modify how gnuplot's keylabel is handled.
|
|Ben
|


Does strrep( mylegstr, "_", "\_" ) work or
   plot(1:10, 1:10, "-;foo\_bar;1");
?
I don't have an up-to-date copy of Octave to try, but its what I
normally use in the other brand.



reply via email to

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