SYNOPSIS
CALL WMLGND (X,Y,NTYPE,IROWS,ICOLS)C-BINDING SYNOPSIS
#include <ncarg/gks.h>void c_wmlgnd(float x, float y, int ntype, int irows, int icols)
DESCRIPTION
- X
- (Real, Input) - An X coordinate (specified in world coordinates) of a point that specifies a position for the legend to be plotted.
- Y
- (Real, Input) - A Y coordinate (specified in world coordinates) of a point that specifies a position for the legend to be plotted.
- NTYPE
-
(Integer, Input) - A character variable that indicates the desired kind of
legend.
-
- Legal values for NTYPE are:
-
1 - Plot the legend for the weather types. There are six weather types: showers; T-storms; rain; flurries; snow; ice. The coordinate (X,Y) for this type specifies the lower left corner of the legend.
2 - Plot the legend for front types. There are three front types labeled: cold; warm; stationary. The (X,Y) coordinate for this legend specifies the lower right corner of the legend.
3 - Plot the explanatory legend. The (X,Y) coordinate for this legend specifies the bottom center of the legend.
-
- IROWS
- (Integer, Input) - An integer variable specifying how many rows there will be in displaying the weather types. IROWS and ICOLS are significant only when NTYPE=1. Choices for IROWS x ICOLS are: 1x6, 2x3, 3x2, and 6x1.
- ICOLS
- (Integer, Input) - An integer variable specifying how many columns there will be in displaying the weather types. IROWS and ICOLS are significant only when NTYPE=1. Choices for IROWS x ICOLS are: 1x6, 2x3, 3x2, and 6x1.
USAGE
The only internal parameter that controls the appearance of a legend is COL, specifying its color.ACCESS
To use WMLGND or c_wmlgnd, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.COPYRIGHT
Copyright (C) 1987-2009University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.