EZMXY(3NCARG)
π EZMXY π β from the NCAR GRAPHICS manual, bestie edition
okay so. hi. you're here because you wanna draw a whole entire graph. multiple curves, even. and you want it to be cute and easy. that's literally what EZMXY does β it's giving main character energy in the 3NCARG section of the manual, and it's here to serve. π«Ά
β¨ NAME β¨
EZMXY draws, in a manner determined by the current values of the control parameters, a complete graph of one or more curves, each defined by a set of points (XDRA(I),YDRA(I,J)) (or (XDRA(I),YDRA(J,I)) or (XDRA(I,J),YDRA(I,J)) or (XDRA(J,I),YDRA(J,I)), depending on the current value of 'ROW.'), for I from 1 to NPTS. The curve number J runs from 1 to MANY. The argument GLAB may be used to specify a "graph label", to be placed at the top of the graph.
like. it draws the whole graph. every curve. all of it. no cap. π
β¨ SYNOPSIS β¨
CALL EZMXY (XDRA,YDRA,IDXY,MANY,NPTS,GLAB)
π C-BINDING SYNOPSIS π
#include <ncarg/ncargC.h>
void c_ezmxy(float *xdra, float *ydra, int idxy, int many, \
int npts, char *glab)
π¦ DESCRIPTION π¦
XDRAβ an input array of typeREAL, dimensionedNPTSorIDXY x MANYorIDXY x NPTS, depending on the current value of'ROW.'. It holds your curve-point X coordinates. The current value of'NULL/1.'(default value"1.E36") may be used inXDRAto signal missing points; curve segments on either side of a missing point are not drawn. Note: Because all non-missing coordinates are used in figuring the minimum and maximum user values along a given axis, it is safest to mark both coordinates as "missing".- If
'ROW.'has the absolute value"1."(the default),XDRAis singly-dimensioned. It is subscripted by point number. - If
'ROW.'has the absolute value"2."or greater,XDRAis doubly-dimensioned. It is subscripted by point number and curve number, in that order if'ROW.'is positive (the default), and in the reverse order if'ROW.'is negative.
- If
YDRAβ an input array of typeREAL, dimensionedIDXY x MANYorIDXY x NPTS, depending on the current value of'ROW.'. It holds your curve-point Y coordinates. The current value of'NULL/1.'(default value"1.E36") may be used inYDRAto signal missing points; curve segments on either side of a missing point are not drawn. Note: Because all non-missing coordinates are used in figuring the minimum and maximum user values along a given axis, it is safest to mark both coordinates as "missing".- If
'ROW.'is positive (the default),YDRAis subscripted by point number and curve number, in that order. - If
'ROW.'is negative,YDRAis subscripted by curve number and point number, in that order.
- If
IDXYβ an input expression of typeINTEGER, and it's the first dimension of the arraysXDRA(if it's doubly-dimensioned) andYDRA(unconditionally, bestie, no exceptions), whichEZMXYneeds in order to index these arrays properly. get it right or the vibes are off. π- If
'ROW.'is positive (the default),IDXYmust be greater than or equal toNPTS. - If
'ROW.'is negative,IDXYmust be greater than or equal toMANY.
- If
MANYβ an input expression of typeINTEGER. It's the number of curves to be drawn byEZMXY. how many little lines are we serving today. πNPTSβ an input expression of typeINTEGER. It's the number of points defining each curve to be drawn byEZMXY.GLABβ an input expression of typeCHARACTER. It defines a new "graph label". (If the first character of this expression is"CHAR(0)", no new "graph label" is defined; the current one will continue to be used.) A character string defining a new graph label must either be of the exact length specified by the current value of'LINE/MAXIMUM.'(default: 40 characters), or shorter; if shorter, it must be terminated by the character defined by the current value of'LINE/END.'(default: a'$'). The string becomes the new text of line number100of the label named'T'.
lowkey important: thatCHAR(0)thing? if you lead with it, nothing changes and the old label keeps vibing. and don't forget your'$'terminator if your string is short. β¨
π C-BINDING DESCRIPTION π
The C-binding argument descriptions are the same as the FORTRAN argument descriptions. literally identical. same facts, different language, we love consistency. π
πΈ EXAMPLES πΈ
Use the ncargex command to see the following relevant examples: agex04, agex05, agex07, agex08, tagupw, tautog, fagaxclr, fagaxlbl, fagaxmax, fagcuclr, fagcudsh, fagezmxy, fagilclr, fagovrvw.
go look at them fr fr, they ate. π₯
β ACCESS β
To use EZMXY or c_ezmxy, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order. To get smoother curves, drawn using spline interpolation, also load libdashsmth.o. Or, you can use the ncargf77 command to compile your program and load the above libraries, then, to get smoother curves, use the -dashsmth option.
smoother curves = prettier graph = the moment. π
π§ SEE ALSO π§
Online: autograph, autograph_params, agback, agbnch, agchax, agchcu, agchil, agchnl, agcurv, agdshn, aggetc, aggetf, aggeti, aggetp, aggetr, agpwrt, agrstr, agsave, agsetc, agsetf, agseti, agsetp, agsetr, agstup, agutol, anotat, displa, ezmy, ezxy, ezy
Hardcopy: NCAR Graphics Fundamentals, UNIX Version
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
okay that's the whole page, you're all caught up bestie π
this was EZMXY(3NCARG) from the UNIX manual, dated March 1993 β yes she's vintage, yes she still slays, periodt. ππ¦π
π¦ where this page comes from
- epel 9: ncl-devel 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-devel 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-devel 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms