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

Home » Public Forums » archive » Re: special characters in iTools annotation
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: special characters in iTools annotation [message #58093 is a reply to message #58092] Tue, 15 January 2008 11:05 Go to previous messageGo to previous message
Benjamin Hornberger is currently offline  Benjamin Hornberger
Messages: 258
Registered: March 2004
Senior Member
David Fanning wrote:
> 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!
>

Yes, I've used that before. However, in that case the special character
is part of the symbol font and corresponds to the letter "e" in the
normal font (Helvetica). In my case, the special character is in the
Helvetica font already, so I shouldn't even have to change fonts, but I
just don't know how to produce that character (since the keyboard
doesn't have a key for it) ...

What would probably work is to find the identifier of that annotation
and modify it programmatically (from the command line) using the
string() function. But it would be nice if there was an easy thing I
could type into the property sheet.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Format of contour labels?
Next Topic: Logic problem

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

Current Time: Wed Oct 08 19:56:22 PDT 2025

Total time taken to generate the page: 0.00463 seconds