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

Home » Public Forums » archive » Re: A color question with PS
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: A color question with PS [message #42170 is a reply to message #42169] Mon, 10 January 2005 19:13 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Andry William Ratsimandresy writes:

> I don't know if I am missing any command or the Hexadecimal color code
> does not work with PS file.

The hexadecimal color code doesn't work. The PS device
is an 8-bit device. You will have to load a red color
in a color table and access it with an index number.
However, this will work everywhere:

Plot, data, Color=FSC_Color('red')

Cheers,

David

P.S. You can find FSC_Color here:

http://www.dfanning.com/programs/fsc_color.pro

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http:/www.dfanning.com/
Phone: 970-221-0438, IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: A color question with PS
Next Topic: Re: Widgets and contour plots

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

Current Time: Tue Dec 02 21:07:16 PST 2025

Total time taken to generate the page: 1.43661 seconds