ncl_wmlgnd - Man Page

plots weather map legends.

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.  

See Also

Online:  wmap, wmdflt, wmgetc, wmgeti, wmgetr, wmsetc, wmseti, wmsetr, wmap_params

Hardcopy:  WMAP - A Package for Producing Daily Weather Maps and Plotting Station  Model Data

Info

January 1995 UNIX NCAR GRAPHICS