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

Home » Public Forums » archive » Re: How can we pass Greek symbols and formula to IPLOT?
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: How can we pass Greek symbols and formula to IPLOT? [message #69499 is a reply to message #69498] Tue, 19 January 2010 00:43 Go to previous messageGo to previous message
d.poreh is currently offline  d.poreh
Messages: 406
Registered: October 2007
Senior Member
On Jan 18, 8:04 am, pp <pp.pente...@gmail.com> wrote:
> On Jan 18, 9:46 am, Dave_Poreh <d.po...@gmail.com> wrote:
>
>> How can we pass Greek symbols and formula to IPLOT?
>> Any help highly would be appreciated.
>
> The same way as in direct graphics. The iTools use TrueType fonts by
> default, but you can use Hershey fonts as well. For instance:
>
> iplot,findgen(10),xtitle="!10abc!X",ytitle="!Z('00B5'X)!M "+string(165B)
> +"!X"
>
> A more convenient way to write the strings for greek letters is to use
> David's greek() function:
>
> http://groups.google.com/group/comp.lang.idl-pvwave/browse_t hread/thr...
>
> It selects the strings for Hershey or TrueType based on the current
> direct graphics device. So if you are using only iplot with the
> default fonts, you can change the device to ps, to make greek() use
> the strings for TureType:
>
> set_plot,'ps'
> iplot,findgen(10),xtitle=greek('Omega')+greek('alpha')
>
> Or, if you can live with Hershey fonts, you can use TeXtoIDL, as in
>
> iplot,findgen(10),xtitle=textoidl('\Omega\alpha'),xtickfont_ index=4
>
> TeXtoIDL is at
>
> http://physweb.mnstate.edu/mcraig/textoidl/
Thank you very much. And a very tiny question: I could not writ
formula there (in IPLOt). Like: km^2 and …..
Cheers
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: ENVI geographic link programmatically
Next Topic: paypal payment wholesale brand shoes,clothing,watch,handbag,jean,ugg boot,t-shirt,jersey,eyeglass,belt,wallet and so on

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

Current Time: Fri Oct 10 22:56:49 PDT 2025

Total time taken to generate the page: 0.40219 seconds