Skip to content

plot to postscript file and to screen in same program

One might want to plot to screen, interactively adjust parameters, replot to screen, etc; and then when done fiddling; make a final postscript plot.  However, . . .

As far as I know, it is a little complicated to plot both to screen and to postscript.  One has to send essentially the same commands to each “device”, while also opening and closing them properly.

A good example of doing this is in combine_v7.0.pro, in /usr/share/astro/idlshare/local/recombo2008

————————————————————————————

A simpler version of this problem is the either/or problem – ask user whether she wants to plot to screen OR postscript.

A good example of this is profile_v4.5.pro [in its pro make_plots]

–Joel

Published inIDL hints

Comments are closed.