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

Home » Public Forums » archive » Re: questions onn symbol and fonts
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: questions onn symbol and fonts [message #69580] Fri, 05 February 2010 19:44 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Feb 5, 3:09 am, "Mr.G" <gameplay...@gmail.com> wrote:
> I have problems typing greek and mathmatical symbols in my plots.  For
> example, \frac{a}{b} seems impossible for me to type.  I thought
> textoidl might help, however, I found that it only supports for latex
> greek symbols, not math symbols.  Besides, it seems that ps font is
> not supported? On the documents it says that the keyword "font" can be
> set, but in practice, the program echos error message when I set the
> keyword.  Anyone has ideas?

See the help, on

IDL API Reference Guides > IDL Reference Guide > Part III: Appendices
> Fonts > Formatting Command Examples

for an example with about the most complicated that can be done.
Fractions cannot be done directly in IDL, as far as I know.

Also, see

http://groups.google.com/group/comp.lang.idl-pvwave/browse_t hread/thread/86ff325e0b4dfbe2#

for more options on how to use greek letters.

I think the simplest way you could put more complicated expressions
from within IDL is to generate them somewhere else, then import them
from a bitmap or vector file, and place them in your graphics.

Other than that, all I can think of would be to write a complicated
program to parse a subset of LaTeX, and generate the vector or bitmap
graphics, directly from IDL. But that would be by no means easy.
Perhaps the simplest way to do it would be to find a LaTeX library
that would do the job, and then create a DLM to use as a wrapper. Like
whatever it is they use at http://mathurl.com/. But still, not simple
to do. Maybe if someday I find myself with nothing to do for several
days...
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Using XYOUTS to substitute numbers for symbols on scatter plots: a caveat
Next Topic: Re: Acuirign Images from a Webcam/Windows

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

Current Time: Wed Oct 08 13:42:55 PDT 2025

Total time taken to generate the page: 0.00446 seconds