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

Home » Public Forums » archive » Re: star symbol in labels??
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: star symbol in labels?? [message #81470 is a reply to message #81468] Thu, 20 September 2012 10:17 Go to previous messageGo to previous message
Mats Löfdahl is currently offline  Mats Löfdahl
Messages: 263
Registered: January 2012
Senior Member
Den torsdagen den 20:e september 2012 kl. 03:09:07 UTC+2 skrev bing999:
> Hi,
>
>
>
> I'd like to plot a star symbol in labels, i.e. xtitle=...
>
> Do you know how to do that please?
>
>
>
> Textoidl sounded to be a straightforward way to do that.
>
> However, it seems that it does not support \star.
>
>
>
> plot,dindgen(3),xtitle=textoidl('\star') will print \star instead of
>
> the symbol.
>
> However, if one plots an asterisk with \ast, it works fine...
>
>
>
> I am a bit confused... Does textoidl miss some tex libraries?

Textoidl does not actually invoke TeX. It just knows how to translate a small subset of TeX to IDL strings. And it knows to do it differently depending on whether you are using vector fonts or postscript fonts.

It's fairly easy to add new symbols - provided you know the proper IDL strings. You just edit one of the tables in textable.pro, which can be found in the textoidl directory.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Debuging
Next Topic: Is it possible to save the figure file in .PNG format directly in IDL?

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

Current Time: Fri Oct 10 11:13:48 PDT 2025

Total time taken to generate the page: 1.36012 seconds