1WMDRRG(3NCARG)                   NCAR GRAPHICS                  WMDRRG(3NCARG)
2
3
4

NAME

6       WMDRRG  -  plots weather map regions (indicating "snow", "rain", etc.),
7       or solid regions indicating temperature zones.
8

SYNOPSIS

10       CALL WMDRRG(N,X,Y,ITYPE,NC,XC,YC)
11

C-BINDING SYNOPSIS

13       #include <ncarg/gks.h>
14
15       void c_wmdrrg(int n, float *x, float *y, char  *itype,  int  nc,  float
16       *xc, float *yc)
17

DESCRIPTION

19       N           (Integer,  Input)  -  The  number of points supplied in the
20                   second and third arguments.
21
22       X           (Real, Input) - The  X  coordinates   (specified  in  world
23                   coordinates) of N points that specify the control points of
24                   a spline  curve  that  will  be  fitted  to  represent  the
25                   requested region.
26
27       Y           (Real,  Input)  -  The  Y  coordinates  (specified in world
28                   coordinates) of N points that specify the control points of
29                   a  spline  curve  that  will  be  fitted  to  represent the
30                   requested region.
31
32       ITYPE       (Character, Input) - Indicates the weather type to fill the
33                   region with, or a solid color.
34
35                   ITYPE can be one of:
36
37                           'T' for thunderstorms
38
39                           'SH' for showers
40
41                           'R' for rain
42
43                           'F' for flurries
44
45                           'SN' for snow
46
47                           'I' for ice
48
49                           'INDEXnn'  where  the  number  "nn" denotes a color
50                          index for a solid fill.
51
52       NC          (Integer, input) - If NC is greater than 2, then the region
53                   resulting  from  the spline fit to ((X(I),Y(I)),I=1,N) will
54                   be clipped against the region in ((XC(I),YC(I)),I=1,NC). If
55                   no clipping is to be done, then set NC equal to 1.
56
57       XC          (Real,  Input)  -  The  X  coordinates  (specified in world
58                   coordinates) of NC points that specify a  clipping  polygon
59                   for   the   region   resulting   from  the  spline  fit  to
60                   ((X(I),Y(I)),I=1,N), if NC is greater than 2.
61
62       YC          (Real, Input) - The  Y  coordinates   (specified  in  world
63                   coordinates)  of  NC points that specify a clipping polygon
64                   for  the  region  resulting  from   the   spline   fit   to
65                   ((X(I),Y(I)),I=1,N), if NC is greater than 2.
66

USAGE

68       Set  the  values for the appropriate internal parameters before calling
69       WMDRRG to produce the desired region. The internal parameters that con‐
70       trol  the  appearance of regions are: COL and RHT.  As mentioned above,
71       the points specified in the X and Y arrays serve as control points  for
72       a  spline curve that is fitted to the input polygon.  X(N) should equal
73       X(1) and Y(N) should equal Y(1).
74

ACCESS

76       To use WMDRRG or c_wmdrrg, load  the  NCAR  Graphics  libraries  ncarg,
77       ncarg_gks, and ncarg_c, preferably in that order.
78

SEE ALSO

80       Online:  wmap,  wmdflt, wmgetc, wmgeti, wmgetr, wmsetc, wmseti, wmsetr,
81       wmap_params
82
83       Hardcopy: WMAP - A Package for Producing Daily Weather Maps  and  Plot‐
84       ting Station Model Data
85
87       Copyright (C) 1987-2009
88       University Corporation for Atmospheric Research
89       The use of this Software is governed by a License Agreement.
90
91
92
93UNIX                             January 1995                   WMDRRG(3NCARG)
Impressum