Re: PS Sun Symbol [message #34885 is a reply to message #34884] |
Mon, 28 April 2003 12:44  |
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
|
|
|