EZXY(3NCARG)
β¨ EZXY β¨ (the NCAR Graphics one, bestie π )
okay so literally this is EZXY from NCARG (that's the NCAR Graphics world, and this page lives in section 3NCARG, iykyk π). What does it do? It draws β in a manner determined by the current values of the control parameters β a complete graph of a single curve through the points (XDRA(I),YDRA(I)), for I from 1 to NPTS. And the argument GLAB? That's your moment to specify a "graph label" to sit pretty at the top of the graph. π
πΈ SYNOPSIS πΈ
CALL EZXY (XDRA,YDRA,NPTS,GLAB)
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/ncargC.h>
void c_ezxy (float *xdra, float *ydra, int npts, char *glab)
π DESCRIPTION π
XDRAβ an input array of typeREAL, dimensionedNPTS, that defines the X coordinates of points on the curve. π«ΆYDRAβ an input array of typeREAL, dimensionedNPTS, that defines the Y coordinates of points on the curve. π«Ά
The points on the curve have coordinates (XDRA(I),YDRA(I)), for I from 1 to NPTS. The current value of 'NULL/1.' (default value "1.E36") may be used to signal missing data in these arrays. If either coordinate of a point is missing, the point is considered to be missing; curve segments on either side of a missing point are not drawn.
β οΈ Note, bestie: 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". fr fr, do both. π
NPTSβ an input expression of typeINTEGER, and it's the number of curve points defined by the arraysXDRAandYDRA. π’GLABβ an input expression of typeCHARACTERthat 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:40characters), or shorter; if shorter, it must be terminated by the character defined by the current value of text of line number100of the label named'T'. β¨
π C-BINDING DESCRIPTION π
The C-binding argument descriptions are the same as the FORTRAN argument descriptions. no cap, they're identical π
π EXAMPLES π
Use the ncargex command to see the following relevant examples: agex02, agex06, agex09, agex10, agex11, agex12, splogy, sprevx, tagupw, tautog, fagezxy, fspponts. Go look at them, they ate. π₯
π ACCESS π
To use EZXY or c_ezxy, 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 β plot twist β you can use the ncargf77 command to compile your program and load the above libraries, then, to get smoother curves, use the -dashsmth option. β¨
π§ 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,ezmy,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.
and that's the whole vibe check, bestie π this page is from the UNIX manual, dated March 1993, and the source/version stamped on it is NCAR GRAPHICS β so yeah, it's giving vintage but make it iconic. periodt. π β¨
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms