Re: color postscript, colortables and TV [message #12903] |
Mon, 14 September 1998 00:00 |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
don shad (dschad@frontiernet.net) writes:
> i am having trouble getting the proper colors to be displayed
> in a color postscript output with custom colormaps. when i use
> a 6 (or 12, or ?) color custom colormap i cannot get images that
> are placed using TV to use this colormap when the device is
> postscript. on-screen the TV images have the correct colors.
In color PostScript you almost always want the Bits_per_Pixel
keyword set to 8. It is 4 by default, which only allows 16
different colors. This is why your colorbar is all red.
Set_Plot, 'PS'
Device, Color=1, Bits_Per_Pixel=8
TV, image
Cheers,
David
----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438, Toll-Free Book Orders: 1-888-461-0155
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|