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

Home » Public Forums » archive » Re: ps/eps ouput from object graphic
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: ps/eps ouput from object graphic [message #48510 is a reply to message #48509] Thu, 27 April 2006 09:27 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> I don't have the foggiest idea of how or why, but consider
> this:
>
> IDL> str = 'This is the greek symbol epsilon: ' + '!9e!x' + '.'
> IDL> xobjview, obj_new('idlgrtext', str, /enable_formatting)

Ok, so this is equivalent to this:

IDL> str = 'This is the greek symbol epsilon: ' + $
'!9' + string("145b) + '!x'+ '.'
IDL> xobjview, obj_new('idlgrtext', str, /enable_formatting)

In this case, epsilon is represented as the octal value "145B.
I found this value by looking up "true-type font samples" for
the Symbol font in the IDL on-line help. This formulation will
also work for other greek symbols. For example, here is a
capital omega:

IDL> str = 'This is the greek symbol capital omega' $
+ '!9' + string("127b) + '!x' + '.'
IDL> xobjview, obj_new('idlgrtext', str, /enable_formatting)

This will work with *any* Greek symbol. (At least the ones
I've tried.)

Possibly we have the start of some kind of explanation
now. (It turns out, incidentally, that the Times font *has*
a capital omega, but no epsilons!!!!) Weird. How come no one
told me this? That greek page gets downloaded at least a
dozen times a day!! Sheesh!

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ps/eps ouput from object graphic
Next Topic: Saving the IDL terminal datastream

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

Current Time: Fri Oct 10 02:36:25 PDT 2025

Total time taken to generate the page: 1.35883 seconds