« Return to Thread: how to avoid '_' interpretation in plot legend ?

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

by Sergei Steshenko-2 :: Rate this Message:

Reply to Author | View in Thread




--- On Mon, 7/6/09, HALL, BENJAMIN PW <benjamin.hall@...> wrote:

> From: HALL, BENJAMIN PW <benjamin.hall@...>
> Subject: RE: how to avoid '_' interpretation in plot legend ?
> To: "Ben Abbott" <bpabbott@...>, "Sergei Steshenko" <sergstesh@...>
> Cc: help-octave@...
> Date: Monday, July 6, 2009, 7:59 AM
> |-----Original Message-----
> |From: Ben Abbott [mailto:bpabbott@...]
>
> |Sent: Monday, July 06, 2009 10:51 AM
>
> |
> |On Monday, July 06, 2009, at 10:44AM, "Sergei Steshenko"
> |<sergstesh@...>
> wrote:
> |>
> |>
> |>
> |>--- On Mon, 7/6/09, Ben Abbott <bpabbott@...>
> wrote:
> |>
> |>> From: Ben Abbott <bpabbott@...>
> |>> Subject: Re: how to avoid '_' interpretation in
> plot legend ?
> |>> To: "Sergei Steshenko" <sergstesh@...>
> |>> Cc: help-octave@...
> |>> Date: Monday, July 6, 2009, 7:40 AM
> |>>
> |>> On Monday, July 06, 2009, at 08:59AM, "Sergei
> Steshenko"
> |>> <sergstesh@...>
> |>> 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.
>

Both don't work.

Thanks,
  Sergei.


     

_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

 « Return to Thread: how to avoid '_' interpretation in plot legend ?