setlabs.gs
Name
setlabs - Set axis label.
Synopsis
setlabs ( xl | yl ) [ (-mul | -add) value1 [ (-mul | -add) value2 ... ]] [-int interval]
Description
Operations are performed by the order appeared in the -mul/-add options. To show help, simply run "setlabs".
Options
- xl or yl
- Horizontal label or vertical label.
- -mul value1
- Label values are multiplied by value1.
- -add value1
- Label values are added by value1.
- -int interval
- Interval of label values (after operator is applied). By default, interval is automatically set and number of labels are 11.
Examples
(1) Change unit of pressure from hPa to Pa for the vertical axis.
ga-> open t ga-> set lon 0 ga-> set lev 1000 100 ga-> setlabs yl -mul 100 -int 10000 ga-> d t
Script source code
- setlabs.gs (necessary)
- prex.gsf (necessary)
- qdims.gsf (necessary)