;
Plotting

	;For all the plotting settings see for_plotdefaults.pro
	
	;You can get the model data out and plot it any way you like.
	; the xy-grid maps come out as MAP structures, and the Carrington 
	;maps can also be output.

for_drive,'cavmorph',line='Dens',/plotlog,quantmap=quantmap
help,/str,quantmap

	;In fact, you can turn the plotting off:

for_drive,'cavmorph',line='Dens',/plotlog,quantmap=quantmap,/noplot

	;But, you can change the FORWARD plotting too. For instance
	;change the window size:

for_drive,'cavmorph',line='Dens',/plotlog,nwinx=512,nwiny=600

	;Change the window for plotting

for_drive,'cavmorph',line='Dens',/plotlog,winnum=2

	;You can plot linear or log scale. I've been using the 
	;PlotLog keyword. Without it you get

for_drive,'cavmorph',line='Dens'

	;You can change the scale level:

for_drive,'cavmorph',line='Dens',/plotlog,imin=4,imax=8

	;turn off the contours:

for_drive,'cavmorph',line='Dens',/plotlog,docont=0

	;many IDL plotting keywords will pass through

for_drive,'cavmorph',line='Dens',/plotlog,charsize=0.5,title='alternate title'

	;There are also more complex plotting options for certain
	;observables and models which will show up in future examples.

	;If you want to use the forward plotting routine to plot something
	;without recalculating it you can save the results of the
	;calculation into an output file and then read them in again.

for_drive,'cavmorph',line='Dens',/savemap,mapname='testmap'

for_drive,readmap='testmap',title='title #2',/plotlog

	;For this example there is no reason to do this, but some of the
	;other model calculations take a long time.

end
;