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

Home » Public Forums » archive » Color 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: Color Fonts?!?!? [message #30447 is a reply to message #30304] Tue, 23 April 2002 12:45 Go to previous messageGo to previous message
Ken Mankoff is currently offline  Ken Mankoff
Messages: 158
Registered: February 2000
Senior Member
On Tue, 23 Apr 2002, Reimar Bauer wrote:
> This is all to complicated
> for example
>
> tek_color
> text=['Dies',' ist',' ein',' Test']
> xyouts,0.5,0.5,text,color=[0,5,2,3,4]
>
> You need as much blanks as letters for each word.
> This could be done by strlen.

Wow, that was easy.

David: It seems this problem is easily solvable no matter how many
times you say "This is a very hard problem" :)

But the "0.5, 0.5" argument to xyouts still needs to be calculated
based upon the current plot, using !x.crange, and !y.crange, and
!y.margin.

-k.
--
------------------------------------------------------------ ---------------
Ken Mankoff http://lasp.colorado.edu/snoe/
http://lasp.colorado.edu/mars/
http://lasp.colorado.edu/~mankoff/ http://lasp.colorado.edu/marsrobot/
------------------------------------------------------------ ---------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Is there a fast Complex ATAN in IDL 5.5?
Next Topic: From a novice in IDL

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

Current Time: Thu Oct 09 19:00:01 PDT 2025

Total time taken to generate the page: 3.35992 seconds