Dear Callum,
Are you using the command:
DEVICE, /CLOSE_FILE
At the end of the .pro file?. In this way the file will be closed and read to be used by other softwares.
The following is an example of the code:
pro color_ps
SET_PLOT, 'PS'
DEVICE, FILENAME='C:\Documents and Settings\fsantoro\Desktop\myplot.ps', /color
; Blk Blu Brn Cyan Gray Grn Pnk Ora Pur Red Yel Wht
r = [000, 000, 143, 000, 128, 000, 255, 255, 255, 255, 255, 255]
g = [000, 000, 069, 255, 128, 255, 200, 175, 000, 000, 255, 255]
b = [000, 255, 001, 255, 128, 000, 200, 000, 255, 000, 000, 255]
tvlct, r, g, b
Black = 0
Blue = 1
Brown = 2
Cyan = 3
Gray = 4
Green = 5
Pink = 6
Orange = 7
Magenta= 8
Red = 9
Yellow =10
White =11
x = findgen(100)/100.*2*!pi
PLOT, x,sin(x)
oplot,x,cos(x), COLOR=Blue
oplot,x,sin(x)*cos(x), COLOR=Orange
DEVICE, /CLOSE_FILE
end
|