EZMY(3NCARG)

🌸 EZMY(3NCARG) β€” NCAR GRAPHICS, but make it cute 🌸

Okay so you're here for EZMY, which lives in the NCAR Graphics manual (that's the 3NCARG section, iykyk). Let's get into it. πŸ’…


✨ NAME ✨

EZMY β€” draws, in a manner determined by the current values of the control parameters, a complete graph of one or more curves. Each curve is defined by a set of points (I,YDRA(I,J)) (or (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. πŸ¦‹


✨ SYNOPSIS ✨

CALL EZMY (YDRA,IDXY,MANY,NPTS,GLAB)

✨ C-BINDING SYNOPSIS ✨

#include <ncarg/ncargC.h>

void c_ezmy (float *ydra, int idxy, int many, int npts, \
char *glab)

✨ DESCRIPTION ✨

Okay so here are the arguments, and they are literally the whole vibe:

  • YDRA β€” an input array of type REAL, dimensioned IDXY x MANY or IDXY x NPTS, depending on the current value of 'ROW.'. It defines curve-point Y coordinates. The current value of 'NULL/1.' (default value "1.E36") may be used in YDRA to signal missing points; curve segments on either side of a missing point are omitted.
    • If 'ROW.' is positive (the default), the first subscript of YDRA is a point number and the second is a curve number.
    • If 'ROW.' is negative, the order of the subscripts is reversed ("row-wise", as opposed to "column-wise", storage); the first subscript is a curve number and the second is a point number.
  • IDXY β€” an input expression of type INTEGER that defines the first dimension of the array YDRA, which is required by EZMY in order to index the array properly.
    • If 'ROW.' is positive (the default), IDXY must be greater than or equal to NPTS.
    • If 'ROW.' is negative, IDXY must be greater than or equal to MANY.
  • MANY β€” an input expression of type INTEGER that is the number of curves to be drawn by EZMY. πŸ‘‘
  • NPTS β€” an input expression of type INTEGER that is the number of points defining each curve to be drawn by EZMY. ✨
  • GLAB β€” an input expression of type CHARACTER that 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 number 100 of the label named 'T'.
Heads up bestie: if you're using 'NULL/1.', those missing points are a thing, and the curve segments on either side of a missing point are omitted. No cap. πŸ’€

✨ C-BINDING DESCRIPTION ✨

The C-binding argument description is the same as the FORTRAN argument description. So if you read the FORTRAN tea above, you already know. 🫢


✨ EXAMPLES ✨

Use the ncargex command to see the following relevant examples: agex03, tagupw, tautog, fagezmy. Go look, they're iconic. πŸ”₯


✨ ACCESS ✨

To use EZMY or c_ezmy, 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. Slay. πŸ’…


✨ SEE ALSO ✨

  • Online: autograph, 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, ezmxy, ezxy, ezy
  • Hardcopy: NCAR Graphics Fundamentals, UNIX Version

Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.


πŸ’– And that's the page! This was from the UNIX manual, March 1993, for EZMY(3NCARG). Bye bestie, go draw those curves! πŸ’–