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

Home » Public Forums » archive » Sun symbol (again!)
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: Sun symbol (again!) [message #64475 is a reply to message #64424] Mon, 05 January 2009 06:47 Go to previous messageGo to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
HI everybody,

I just wanted to mention that there is a way to
put LaTeX labels instead on postscript plots
generated in IDL.

This however requires to use an external program
after the plot is run in IDL. While it does require
quite a bit of effort, it may be useful if you want
to embed equations or esoteric symbols (such
as the Sun symbol) in your plots.

This was discussed in this group a while ago
and some smart googling should find the thread...

Ciao,
Paolo


jschwab@gmail.com wrote:
>>> What I'm left with is manually positioning the vector font symbol '!9!
>>> Z(6E)!X'. It will work and gives me something that's not bad looking.
>>> Unsurprisingly though, I find it rather unsatisfying.
>>
>>> If anyone has a better / more flexible solution, I'd love to hear it.
>
> I never found a more satisfactory solution than the following snippet.
>
> plot, [0, 0], [0, 0], /nodata, $
> xrange = [8, 16], xtitle = "Radius [km]",$
> ytitle = "Mass [M ]", yrange = [0, 3.5], $
> position = [0.10, 0.15, 0.53, 0.95], $
> xtickname = ['8', '10', '12', '14', ' ']
>
>
> xyouts, 6.80, 1.96, /data, "!9!Z(6E)!X", font = -1, charthick = 3, $
> charsize = 1.5
>
> which gave me something that looked like this.
>
> http://web.mit.edu/jschwab/Public/final_sunsym.png
>
> Fortunately, I only had a few different plots to make.
>
> Josiah
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: workbench new programs
Next Topic: Re: problems on idl java import bridge

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

Current Time: Tue Oct 21 07:18:46 PDT 2025

Total time taken to generate the page: 0.56143 seconds