[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Setting colors for Plotting to PRINTER
- Subject: Re: Setting colors for Plotting to PRINTER
- From: david(at)dfanning.com (David Fanning)
- Date: Fri, 10 Aug 2001 21:38:53 -0600
- Newsgroups: comp.lang.idl-pvwave
- Organization: Fanning Software Consulting
- References: <3B7489DA.DFA181E0@boim.com>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:26162
Aaron Birenboim writes:
> Shouldn;t I be able to do something like:
>
> SET_PLOT,'PRINTER'
> TVLCT,255,0,0,2
> PLOT,myData,COLOR=2
>
> To print out a plot in red?
If you were to write your code like this:
PLOT,myData,COLOR=FSC_Color('Red', 2)
Your plot would come out red on your 24-bit
display and red in your PostScript file,
and red on your printer. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155