1WMLGND(3NCARG) NCAR GRAPHICS WMLGND(3NCARG)
2
3
4
6 WMLGND - plots weather map legends.
7
9 CALL WMLGND (X,Y,NTYPE,IROWS,ICOLS)
10
12 #include <ncarg/gks.h>
13
14 void c_wmlgnd(float x, float y, int ntype, int irows, int icols)
15
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
55 The only internal parameter that controls the appearance of a legend is
56 COL, specifying its color.
57
59 To use WMLGND or c_wmlgnd, load the NCAR Graphics libraries ncarg,
60 ncarg_gks, and ncarg_c, preferably in that order.
61
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-2009
71 University Corporation for Atmospheric Research
72 The use of this Software is governed by a License Agreement.
73
74
75
76UNIX January 1995 WMLGND(3NCARG)