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

Home » Public Forums » archive » Re: PS Sun Symbol
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 Sun Symbol [message #34885 is a reply to message #34884] Mon, 28 April 2003 12:44 Go to previous message
chris_torrence is currently offline  chris_torrence
Messages: 2
Registered: November 2002
Junior Member
Hi Chad,

If you want to use vector-drawn fonts instead, there is a very nice
sun symbol under the math font:
IDL> !p.font = -1
IDL> xyouts, 0.5, 0.5, '!9n'
The !9 switches to math font, and the "n" is the character
representing the sun.

You can use:
IDL> showfont,9,'Math'
to view all of the available symbols.
-Chris


Chad Bender <cbender@hapuna.ess.sunysb.edu> wrote in message news:<3ea9c972_4@marge.ic.sunysb.edu>...
> I'm trying to make a sun symbol (circle with a dot in the middle) under
> PS hardware fonts. There is a command (sunsymbol) in the astronomy users
> library that does this, however the dot is noticeably off center. Has
> anyone come up with a better way of generating the symbol?
>
> For reference, the command used in the 'sunsymbol' function is:
>
> device,/AVANTGARDE,/BOOK,ISOLATIN=0,FONT_INDEX = 20
> return, '!20!S!DO!R!I ' + string(183b) + '!X!N'
>
> I checked the archives, but the last post referencing this topic was way
> back in 97.
>
> Also:
> IDL> print, !version
> { x86 linux unix 5.4 Sep 25 2000 32 32}
>
>
> Thanks
> Chad Bender
[Message index]
 
Read Message
Read Message
Previous Topic: Re: xcontour and ticks
Next Topic: Allowable parameters in event_pro?

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

Current Time: Sat Oct 11 00:57:24 PDT 2025

Total time taken to generate the page: 0.31715 seconds