EZVEC(3NCARG)
β¨ EZVEC β¨ β the NCAR GRAPHICS glow-up page π
okay so bestie, welcome to EZVEC, a manual page from the NCAR GRAPHICS collection. this one lives in section 3NCARG, and it's all about a lil front-end situation. let's get into it π«Ά
πΈ NAME πΈ
EZVEC β it's a front-end to VELVCT with a simpler interface. and like VELVCT, it plots a vector field in a single call. one call, whole vector field, no cap. β¨
π SYNOPSIS π
CALL EZVEC (U,V,M,N)
that's it. that's the whole vibe. four args and you're done. π
π STATUS π
okay so real talk: EZVEC is obsolete. it's only still here to provide compatibility with old NCAR Graphics codes. like, it's giving legacy. it's giving "we keep it around for the elders."
BUT β and this is the cute part β the compatibility mode parameter, CPM, offers a number of options to help ease the transition to the new version of the utility. so you're not stranded, bestie. π«Ά
when you're writing new code, you are encouraged not to use this entry point, since it provides less capability than the standard Vectors interface, and may eventually be phased out. soβ¦ yeah. it might get axed. just saying. π
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/ncargC.h>
void c_ezvec (float *u, float *v, int m, int n)
C girlies, we got you. π
π DESCRIPTION π
the args, one by one, no skips
Uβ (REAL 2-dimensional array, dimensioned M x n: n >= N, input) by default, this is assumed to contain the first dimensional Cartesian components of the vector field. BUT β plot twist β ifPLRis non-zero, it gets treated as containing the vector magnitudes. πVβ (REAL 2-dimensional array, dimensioned M x n: n >= N, input) by default, assumed to contain the second dimensional Cartesian components of the vector field. however, ifPLRis non-zero, it's treated as containing the vector angles. πMβ (INTEGER, input) the actual size of the first dimension of arraysUandV.Nβ (INTEGER, input) the assumed size of the second dimension of arraysUandV.
π§ C-BINDING DESCRIPTION π§
the C-binding argument descriptions are the same as the FORTRAN argument descriptions, with the following exceptions β and yes, they do flip, pay attention bestie:
mβ the actual size of the second dimension of arraysuandv.nβ the assumed size of the first dimension of arraysuandv.
see what they did there? sneaky. iconic, but sneaky. π
π₯ USAGE π₯
U and V are 2-dimensional vector component arrays, whose actual first dimensions must be equal to the value of M, and whose second dimensions must equal or exceed the value of N. got that? equal for the first, equal-or-exceed for the second. π
assuming the default value of the compatibility mode parameter, CPM, Vectors always performs a SET call and draws a perimeter around the plot when accessed through the EZVEC interface. before the return from EZVEC, another call to SET restores the previous coordinate system mapping. so it puts a little fence around your plot and then puts everything back exactly how it found it. considerate queen. π
by modifying the value of CPM, you may take more control over the utility than originally possible using this entry point. for instance, you can override the default value of the SET parameter, or use the Version 3.2 coordinate system mapping routines instead of the old FX, FY, MXF, and MYF functions. glow-up unlocked β¨
nevertheless β when creating new code, use the VVINIT/VVECTR interface, since its capabilities are greater and more likely to improve with time. fr fr. it's the main character. this one is the cameo. π¬
π EXAMPLES π
use the ncargex command to see the following relevant example: tvelvc.
go look at it. it's right there. π
π ACCESS π
to use EZVEC, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β preferably in that order. order matters bestie, don't freestyle it. π
π«Ά SEE ALSO π«Ά
online: vectors, vectors_params, fx, velvct, vvectr, vvgetc, vvgeti, vvgetr, vvinit, vvrset, vvsetc, vvseti, vvsetr, vvudmv, vvumxy, ncarg_cbind.
(the whole friend group, basically. go say hi. π―)
π 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 page!! this little time capsule is from UNIX, dated April 1993, filed under EZVEC(3NCARG) β literally a vintage. stan the classics, bestie. π
β¨πΈ
π¦ 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