pro endps ;This tiny utility should be called to end an eps-file plotting ;session that was begun using 'startps'. It just closes the ;newly-created file and resets the current device to be ;the mac screen again. ; ;Mark Lankton 9/7/95 ;Modified to work on either windows or mac/unix by David James 8/1/07 device,/close device,encapsulated = 0 device,preview = 0 device,/portrait if !version.os_family ne 'unix' then set_plot,'win' else $ set_plot, 'X' ;Set to plot black-on-white by default !p.background = !d.n_colors - 1 !p.color = 0 end