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

Home » Public Forums » archive » Re: 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 #30296 is a reply to message #30295] Wed, 17 April 2002 12:46 Go to previous messageGo to previous message
Ken Mankoff is currently offline  Ken Mankoff
Messages: 158
Registered: February 2000
Senior Member
> Date: Wed, 17 Apr 2002 13:27:18 -0600
> From: David Fanning <david@dfanning.com>
>> This really is impossible in IDL without (a slim possibility, really)
>> some Herculean effort and extraordinary hacking. I seriously doubt
>> it is worth the trouble.
> P.S. Let's just say it would probably take a Herculean
> effort to do it *automatically*. :-)

loadct, 39
data = indgen(10)
title0 = 'This is an ' & title1 = 'extraordinary' & title2 = ' title
erase & plot, data, chars=2
xyouts, 0.3, 0.03, /norm, align=0.0, $
title0, $
chars=2, width=w0
xyouts, 0.3+w0, 0.03, /norm, align=0.0, $
title1, color=254, $
chars=2, width=w1
xyouts, 0.3+w0+w1, 0.03, /norm, align=0.0, $
title2, $
chars=2,

The steps to make it automatic are just that the user passes in the
title and the substring, and the program splits the title on the
substring, and then makes the 3 XYOUTS with the dynamically generated
substrings.

-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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Help me aviod a FOR loop!?!?
Next Topic: 24-bit color problem on Red Hat Linux 7.1

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

Current Time: Fri Oct 10 22:37:09 PDT 2025

Total time taken to generate the page: 0.88165 seconds