Re: Colour PostScript Plots [message #2122] |
Sat, 28 May 1994 09:26 |
thompson
Messages: 584 Registered: August 1991
|
Senior Member |
|
|
ragnar@kvark.fi.uib.no (Ragnar Aas) writes:
> Hi! I don't know if this is the right place to ask this but :
> I have a problem with the colour PostScript Plots. I have a program that
> loads colour-table 13 at startup. But for some odd reason, it is corrupt
> the first time I run the program. If I stop the program execution and restart
> it, the colourtable is OK. And it stays that way for the rest of the IDL
> session. But if I quit IDL, restart and run the program, the colours are
> completely nuts. I'm working on a HP-PA-RISC 755 running HP-UX 9.00 and
> Motif.
I'm not sure if this is your problem or not, but I've generally found that it's
best to load the color table immediately after opening the PostScript file and
defining it to be of type color, e.g.
SET_PLOT,'ps'
DEVICE, /COLOR
LOADCT, 13
Bill Thompson
P.S. Actually comp.lang.idl-pvwave is a better place to ask your question.
This newsgroup, comp.lang.idl, is really supposed to be for something with the
same initials called Interface Description Language. It's a common and
understandable mistake, which is why anyone interested in RSI's product
(Interactive Data Language) should monitor both groups. I'm cross-posting this
to both groups.
|
|
|