It is called, by providing the script with the total number of rows and columns, as well as the specified row/column for your chosen plot. You can access a short help page by calling without the proper variables.
Example useage: 'set_parea 3 5 2 3'
This example, will set the page area to be the center of a 3x5 grid, row 2 column 3.
Options: -margin (-m): sets margins from the page edges and in between each plot.
-show (-s): clears the screen and plots/labels all page areas.
An example of the -show option is shown below:
'set_parea 4 5 2 3 -m 0.3 -s'
|Example using -show option in set_parea.gs|
One potential use for this script would be to plot model output variables at all time steps on one plot. An example script to do this is shown below, and plots 18 time steps from the RAP model.
'set lat 22 50'
'set lon -125 -68'
'set gxout shaded'
'set mpdset hires'
'set display color white'
'set xlab off'
'set ylab off'
'set t 't
'set_parea 'rows' 'cols' 'i' 'j' -m 0.3'
'color 5 75 5 -kind white->dodgerblue->blue->lime->green->darkgreen->yellow->goldenrod->orange->firebrick->red->darkred->fuchsia->indigo'
'draw title Time: 't
Download RAP Example Script