; setup some variables for the device command: ; ---------------------------------------------------------------------- filename = 'filename.ps' ; or change to *.eps for encapsulated encapsulate = 1 ; set to 1 for EPS files to include in documents ; set to 0 for PS files that can be printed by themselves ; issue device setting commands: ; ---------------------------------------------------------------------- set_plot, 'ps' device, file=filename, $ encap=encapsulate ; to manually set the output dimensions (only recommended for EPS files), ; you can add these parameters to the device command: ; /inch, xsize=9, ysize=5 ; (if you just leave these off, the output usually looks fine) ; system variable settings: ; ---------------------------------------------------------------------- !p.font=0 ; set to 0 for postscript fonts !p.charsize=1.2 ; enlarge text slightly ; when you make your xtitle/ytitle strings, use !3 to set all the following ; text to helvetica, !9 for symbol: !x.title='!3Wavelength (!9m!3m)' ; (your plot commands would go somewhere here) ; finish: ; ---------------------------------------------------------------------- device, /close set_plot, 'x'