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

NAME

6       WMLGND - plots weather map legends.
7

SYNOPSIS

9       CALL WMLGND (X,Y,NTYPE,IROWS,ICOLS)
10

C-BINDING SYNOPSIS

12       #include <ncarg/gks.h>
13
14       void c_wmlgnd(float x, float y, int ntype, int irows, int icols)
15

DESCRIPTION

17       X           (Real, Input) - An X coordinate (specified in world coordi‐
18                   nates) of a point that specifies a position for the  legend
19                   to be plotted.
20
21       Y           (Real,  Input) - A Y coordinate (specified in world coordi‐
22                   nates) of a point that specifies a position for the  legend
23                   to be plotted.
24
25       NTYPE       (Integer,  Input) - A character variable that indicates the
26                   desired kind of legend.
27
28                   Legal values for NTYPE are:
29
30                          1 - Plot the legend for the weather types. There are
31                          six  weather  types:  showers; T-storms; rain; flur‐
32                          ries; snow; ice. The coordinate (X,Y) for this  type
33                          specifies the lower left corner of the legend.
34
35                          2 - Plot the legend for front types. There are three
36                          front types labeled:  cold;  warm;  stationary.  The
37                          (X,Y) coordinate for this legend specifies the lower
38                          right corner of the legend.
39
40                          3 - Plot the explanatory legend. The  (X,Y)  coordi‐
41                          nate  for this legend specifies the bottom center of
42                          the legend.
43
44       IROWS       (Integer, Input) - An integer variable specifying how  many
45                   rows  there will be in displaying the weather types.  IROWS
46                   and ICOLS are significant only when  NTYPE=1.  Choices  for
47                   IROWS x ICOLS are: 1x6, 2x3, 3x2, and 6x1.
48
49       ICOLS       (Integer,  Input) - An integer variable specifying how many
50                   columns there will be  in  displaying  the  weather  types.
51                   IROWS  and ICOLS are significant only when NTYPE=1. Choices
52                   for IROWS x ICOLS are: 1x6, 2x3, 3x2, and 6x1.
53

USAGE

55       The only internal parameter that controls the appearance of a legend is
56       COL, specifying its color.
57

ACCESS

59       To  use  WMLGND  or  c_wmlgnd,  load the NCAR Graphics libraries ncarg,
60       ncarg_gks, and ncarg_c, preferably in that order.
61

SEE ALSO

63       Online: wmap, wmdflt, wmgetc, wmgeti, wmgetr, wmsetc,  wmseti,  wmsetr,
64       wmap_params
65
66       Hardcopy:  WMAP  - A Package for Producing Daily Weather Maps and Plot‐
67       ting Station Model Data
68
70       Copyright (C) 1987-2007
71       University Corporation for Atmospheric Research
72
73       This documentation is free software; you  can  redistribute  it  and/or
74       modify  it  under  the  terms of the GNU General Public License as pub‐
75       lished by the  Free  Software  Foundation;  either  version  2  of  the
76       License, or (at your option) any later version.
77
78       This  software  is  distributed in the hope that it will be useful, but
79       WITHOUT ANY  WARRANTY;  without  even  the  implied  warranty  of  MER‐
80       CHANTABILITY  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
81       Public License for more details.
82
83       You should have received a copy of the GNU General Public License along
84       with  this  software;  if  not,  write to the Free Software Foundation,
85       Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
86
87
88
89UNIX                             January 1995                   WMLGND(3NCARG)
Impressum