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

Home » Public Forums » archive » Re: italic greek?
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: italic greek? [message #82429 is a reply to message #82414] Tue, 11 December 2012 10:13 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

>
> sdjohnson.mail@gmail.com writes:
>
>> I am trying to make a plot with an italicized greek symbol (theta) using the various cg commands, but have not found a way of doing so. Does anyone know how?
>
> I think you are probably going to have to find
> an italicized Greek font somewhere...

You can obviously make italic versions of Postscript fonts,
including the Symbol font, which is used to create Greek
characters:

Set_Plot, 'PS'
Device, /Italic, /Symbol

But, there is no way in IDL that I know of to switch
from an non-italic to italic and back to non-italic
font inside a text string. So, if you wanted an italic
theta and non-italic text otherwise, you would have to
divide the text string into italic and non-italic parts
and write them separately.

Seems like a lot of work for very little benefit
to me. :-)

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: increment an array subset based on another subset
Next Topic: Re: Displaying Cartesian coordinate data on a sphere

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

Current Time: Fri Oct 10 03:38:34 PDT 2025

Total time taken to generate the page: 0.73657 seconds