color PS output error?? [message #37942] |
Sun, 08 February 2004 08:06 |
shson
Messages: 8 Registered: August 2003
|
Junior Member |
|
|
Dear Sir,
I'm making color image to Postscript output file.
Although I could see the color images/figures in the windows, the PS
file doesn't show the color images/figures (just black & white) when I
made it as a PS output file. The computer system is Linux. Could
someone help me?
I'm usally writing the program like this...
;=============================
IF strlowcase(!version.os) EQ 'linux' THEN BEGIN
device, true_color=24
device, get_visual_depth=depth
device, true_color=depth
window, /free, /pixmap, colors=-10
wdelete, !d.window
device, decomposed=0, retain=2
ENDIF
;.............
LOADCT, 39
SET_PLOT, 'PS'
DEVICE, /ENCAPSUL, BITS_PER_PIXEL=8, $
Filename='xxx.ps', xsize=16., ysize=16.
!P.MULTI=[0, 1, 1, 0, 1]
DEVICE, /CLOSE
;=============================
Thanks.
Son
|
|
|