Graphics output is all done via PGPLOT, and the command line parameter device= is commonly used to select the device. Examples: /ps, fig1.ps/vps, /xs, 2/xs, fig2.cps/vcps, plot1.gif/gif. The mirhelp device command will also explain. If you use device=? PGPLOT will give you a list of the devices that were installed in your version of PGPLOT. Note that on some older gfortran based compilers the GIF device driver could not be compiled yet and will be absent.