1EZMY(3NCARG) NCAR GRAPHICS EZMY(3NCARG)
2
3
4
6 EZMY - Draws, in a manner determined by the current values of the
7 control parameters, a complete graph of one or more curves, each
8 defined by a set of points (I,YDRA(I,J)) (or (I,YDRA(J,I)), depending
9 on the current value of 'ROW.'), for I from 1 to NPTS. The curve number
10 J runs from 1 to MANY. The argument GLAB may be used to specify a
11 "graph label", to be placed at the top of the graph.
12
14 CALL EZMY (YDRA,IDXY,MANY,NPTS,GLAB)
15
17 #include <ncarg/ncargC.h>
18
19 void c_ezmy (float *ydra, int idxy, int many, int npts, \
20 char *glab)
21
23 YDRA (an input array of type REAL, dimensioned IDXY x MANY or
24 IDXY x NPTS, depending on the current value of 'ROW.')
25 defines curve-point Y coordinates. The current value of
26 'NULL/1.' (default value "1.E36") may be used in YDRA to
27 signal missing points; curve segments on either side of a
28 missing point are omitted.
29
30 · If 'ROW.' is positive (the default), the first
31 subscript of YDRA is a point number and the second
32 is a curve number.
33
34 · If 'ROW.' is negative, the order of the subscripts
35 is reversed ("row-wise", as opposed to "column-
36 wise", storage); the first subscript is a curve
37 number and the second is a point number.
38
39 IDXY (an input expression of type INTEGER) defines the first
40 dimension of the array YDRA, which is required by EZMY in
41 order to index the array properly.
42
43 · If 'ROW.' is positive (the default), IDXY must be
44 greater than or equal to NPTS.
45
46 · If 'ROW.' is negative, IDXY must be greater than or
47 equal to MANY.
48
49 MANY (an input expression of type INTEGER) is the number of
50 curves to be drawn by EZMY.
51
52 NPTS (an input expression of type INTEGER) is the number of
53 points defining each curve to be drawn by EZMY.
54
55 GLAB (an input expression of type CHARACTER) defines a new
56 "graph label". (If the first character of this expression
57 is "CHAR(0)", no new "graph label" is defined; the current
58 one will continue to be used.) A character string defining
59 a new graph label must either be of the exact length
60 specified by the current value of 'LINE/MAXIMUM.' (default:
61 40 characters), or shorter; if shorter, it must be
62 terminated by the character defined by the current value of
63 'LINE/END.' (default: a '$'). The string becomes the new
64 text of line number 100 of the label named 'T'.
65
67 The C-binding argument description is the same as the FORTRAN argument
68 description.
69
71 Use the ncargex command to see the following relevant examples: agex03,
72 tagupw, tautog, fagezmy.
73
75 To use EZMY or c_ezmy, load the NCAR Graphics libraries ncarg,
76 ncarg_gks, and ncarg_c, preferably in that order. To get smoother
77 curves, drawn using spline interpolation, also load libdashsmth.o. Or,
78 you can use the ncargf77 command to compile your program and load the
79 above libraries, then, to get smoother curves, use the -dashsmth
80 option.
81
83 Online: autograph, agback, agbnch, agchax, agchcu, agchil, agchnl,
84 agcurv, agdshn, aggetc, aggetf, aggeti, aggetp, aggetr, agpwrt, agrstr,
85 agsave, agsetc, agsetf, agseti, agsetp, agsetr, agstup, agutol, anotat,
86 displa, ezmxy, ezxy, ezy
87
88 Hardcopy: NCAR Graphics Fundamentals, UNIX Version
89
91 Copyright (C) 1987-2007
92 University Corporation for Atmospheric Research
93
94 This documentation is free software; you can redistribute it and/or
95 modify it under the terms of the GNU General Public License as
96 published by the Free Software Foundation; either version 2 of the
97 License, or (at your option) any later version.
98
99 This software is distributed in the hope that it will be useful, but
100 WITHOUT ANY WARRANTY; without even the implied warranty of
101 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
102 General Public License for more details.
103
104 You should have received a copy of the GNU General Public License along
105 with this software; if not, write to the Free Software Foundation,
106 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
107
108
109
110UNIX March 1993 EZMY(3NCARG)