Color PostScript (was: Re: IDL resources on my Web page) [message #6777] |
Wed, 14 August 1996 00:00 |
hartman
Messages: 9 Registered: August 1994
|
Junior Member |
|
|
In <3208DF55.41C6@ssec.wisc.edu> Liam Gumley <liamg@ssec.wisc.edu> writes:
> Please browse around and let me know if you find any of it useful.
Well thanks, I found it useful. The esrg library wasn't installed on
my system, so I didn't know the wonders of TVIM before.
But. I'm having trouble with printing color postscript files: on
screen it looks perfect, but on my ps-file the borders of the graph
are missing (ie presumably white).
So, what do I do:
I startup IDL and say 'window,/free,/pixmap,colors=256'
After that, I have to load the colormap I want to use, and I have to
use xloadct for that since I want my particular colormap (no 5, STD
GAMMA-II) reversed.
I create my postscript plot:
set_plot,'ps'
DEVICE,file='colplot.cps',/color, bits=8
End I end up with a graph with white borders (probably color index 255
is set to white somewhere?) Using 'toggle' doesn't make any
difference.
So, can somebody tell me what I did wrong, and how I can do it right?
Thanks in advance.
Jan Willem
|
|
|