A color question with PS [message #42171] |
Mon, 10 January 2005 18:02 |
war
Messages: 21 Registered: December 2003
|
Junior Member |
|
|
Dear IDL user,
I have a PS color question I am trying to solve. Please give any answer
if you have some.
This is my simple plot program:
a= RANDOMU(n,11)
PLOT, a,/nodata
OPLOT, a, color= '0000ff'x, psym=2
END
If I send this to my X-windows (!d.name = X), I get some red asteriscs
(as expected). But now, I want to send the plot to a PS file. So I do:
SET_PLOT,'ps'
DEVICE, /color
PLOT, a,/nodata
OPLOT, a, color= '0000ff'x, psym=2
DEVICE,/close
SET_PLOT, 'x'
The file, I am getting, contains only the box but not the data.
I don't know if I am missing any command or the Hexadecimal color code
does not work with PS file.
Thanks for any help,
PS: I am using IDL 6.0 on a linux with 24 bits color depth.
Andry
|
|
|