Re: special characters in iTools annotation [message #58092 is a reply to message #58091] |
Tue, 15 January 2008 11:11   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Benjamin Hornberger writes:
> Yes, but this is direct graphics. Also it uses the string() function,
> which I know how to use one the command line / programmatically, but I
> don't know how to use it in the graphical interface of iTools. If I just
> type string(), the string "string()" is added in my annotation ...
You need to know what the "string" value of your octal
number is. In the case of the epsilon:
IDL> print, string("145B)
e
So, that is why I can insert !9e!x into the title
string and get it to show up as an epsilon on the
display.
I presume you could do this programmatically, although
I don't have a clue how, by fishing out your axis or
font object (whatever you are trying to change) and
getting the text, manipulating that (you *could* use
your STRING() function now), and putting it back.
I just showed you how to do it with the property sheets.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|