Re: special characters in iTools annotation [message #58099 is a reply to message #58095] |
Tue, 15 January 2008 09:45   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Benjamin Hornberger writes:
> I am trying to put a "times" symbol (like the letter x, but not exactly,
> LaTeX $\times$) into an iTools annotation. I found it in the Helvetica
> font table at position 327 (octal), but I don't know how to add it to
> the iTools annotation.
>
> David's description on http://www.dfanning.com/ographics_tips/greek.html
> doesn't seem to help because since I am not creating the text object
> programmatically I can't use the string() function. Or can I somehow?
Well, I didn't know about that article. Neat. :-)
Here is what I just tried, which seemed to work.
I started an ISurface plot like this:
IDL> iSurface, Loaddata(2), XTitle='This is a title'
Then, I selected the X axis object and brought up its
property sheet. I found the Title field in this property
sheet and changed the title to this:
This is a title !9e!x and this is more title
When I hit the carriage return, the epsilon symbol was
in the title!
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.")
|
|
|