comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Escape "/" for NG LEGEND
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Escape "/" for NG LEGEND [message #87555 is a reply to message #87554] Fri, 14 February 2014 12:40 Go to previous message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
Thank you so much for the quick solution. I could not find the post you referred to, so I am glad you found this. Haje

On Friday, February 14, 2014 3:31:04 PM UTC-5, David Fanning wrote:
> David Fanning writes:
>
>
>
>> This was discussed recently here. Can't remember how it was resolved,
>
>> but Chris Torrance responded with some kind of workaround.
>
>
>
> Here is Chris's response:
>
>
>
> Yes, unfortunately, this happens because the "/" is used to separate the
>
> different object graphics pieces, just like a directory separator.
>
>
>
> But the easiest solution is to just use the "LaTeX" / character instead,
>
> like this:
>
>
>
> p = plot(x, y, name='2008 $\slash$ 2009')
>
> l = legend()
>
>
>
> Notice that I put an extra space before and after the slash character.
>
> At least on my Mac, if you don't have the space, it doesn't leave enough
>
> room around the slash. Maybe because it is a Unicode "math" character.
>
> Also, I used single quotes so it doesn't think the 2008 is some sort of
>
> weird octal number.
>
>
>
> David
>
> --
>
> David Fanning, Ph.D.
>
> Fanning Software Consulting, Inc.
>
> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
>
> Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Postgresql and PV-Wave on Linux
Next Topic: Reconstruct surface from gradient field?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 14:22:24 PDT 2025

Total time taken to generate the page: 0.48121 seconds