login

mul.gs

Top / GrADS / script / mul.gs

Japanese / English

Name

mul - Specify the position of the figure easily when plotting several figures.

Synopsis

mul
    imax jmax ipos jpos
    [-xoffset xoffset] [-yoffset yoffset]
    [-novpage]
    [-xini x-initial] [-xwid x-width] [-xint x-interval]
    [-yini y-initial] [-ywid y-width] [-yint y-interval]

Description

To show help, simply run "color".

Options

imax
Number of windows horizontally (1-5).
jmax
Number of windows vertically (1-5).
ipos
Position of windows horizontally (1-imax).
jpos
Position of windows vertically (1-jmax).
xoffset
Offset of windows horizontally, default=0.
yoffset
Offset of windows vertically, default=0.
-novpage
Avoid "set vpage.
x-initial, y-initial
Lower-left position when "mul ? ? 1 1".
x-width, y-width
Width of figure.
x-interval, y-interval
Interval of figures.

Examples

(1) Try the following command on GrADS:

ga-> open u.ctl
ga-> open v.ctl
ga-> open t.ctl
ga-> set lev 850
ga-> mul 3 2 1 1
ga-> d u.1
ga-> mul 3 2 2 1
ga-> d v.2
ga-> mul 3 2 3 1
ga-> d t.3
ga-> set lev 300
ga-> mul 3 2 1 2
ga-> d u.1
ga-> mul 3 2 2 2
ga-> d v.2
ga-> mul 3 2 3 2
ga-> d t.3

You will see the following figures.

  • landscape
    j  --------------------
      |      |      |      |
    2 | U300 | V300 | T300 |
      |      |      |      |
      |------|------|------|
      |      |      |      |
    1 | U850 | V850 | T850 |
      |      |      |      |
       --------------------
    
  • portrait
    j  --------------
      |    |    |    |
    2 |U300|V300|T300|
      |    |    |    |
      |    |    |    |
      |----|----|----|
      |    |    |    |
    1 |U850|V850|T850|
      |    |    |    |
      |    |    |    |
       --------------
        1    2    3   i
    

Script source code