;+ ; This procedure writes a postscript file that reproduces the spectrum ; in the plotter. ; ; @keyword filename {in}{optional}{type=string} The postscript filename can be specified ; using this parameter. If omitted, the file will be called 'gbtidl.ps' ; ; @keyword portrait {in}{optional}{type=boolean} If set then ; the postscript will be generated in portrait mode instead of the ; default landscape mode. ; ; @examples ; write_ps,filename='myplot.ps' ; ; @version $Id: write_ps.pro,v 1.6 2005/05/24 15:43:38 jbraatz Exp $ ;- pro write_ps,filename=filename, portrait=portrait show, /postscript, filename=filename, /reshow, portrait=portrait end