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

Home » Public Forums » archive » Re: star symbol in labels??
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: star symbol in labels?? [message #90388 is a reply to message #90383] Fri, 27 February 2015 11:46 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Chris Torrence writes:

> It's easy to do with new graphics:
>
> x = findgen(100)
> y = randomu(seed,100)
> p = plot(x,y,TITLE='$M_{\U(22C6)}$', FONT_SIZE=30)

It's pretty easy with Coyote Graphics, too, if you are using IDL 8.2 or
higher. First, make sure DejaVuSans is your true-type font. I usually do
this in my IDL start-up file.

cgSet_TTFont, 'Dejavusans'

Then, to make the plot:

cgPlot, x,y,TITLE='M!D!Z(22C6)!N', Font=1, Output='test.png'

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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Debuging
Next Topic: Is it possible to save the figure file in .PNG format directly in IDL?

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

Current Time: Wed Oct 08 19:35:41 PDT 2025

Total time taken to generate the page: 0.00487 seconds