CURVE3(3NCARG)
β¨ CURVE3 β¨
okay so bestie, welcome to the NCAR GRAPHICS corner of the manual, and today's main character is CURVE3 π
π« NAME π«
CURVE3 β draws the projection of a curve defined by a sequence of points in 3-space. that's it, that's the whole vibe. it takes your lil 3D points and projects them so you can actually see them. iconic behavior fr fr π¦
π SYNOPSIS π
CALL CURVE3 (U,V,W,N)
π C-BINDING SYNOPSIS π
#include <ncarg/ncargC.h>
void c_curve3 (float *u, float *v, float *w, int n)
π DESCRIPTION π
here's the tea on every single argument, no skips, no cap:
U,V,Wβ these are input arrays, dimensioned at leastN, of typeREAL. they hold the U, V, and W coordinates (respectively, in that order, don't mix them up bestie π) of the points that define the curve whose projection is getting drawn.Nβ an input expression of typeINTEGER, and it's literally just the number of points defining the curve. that's it. that's the whole job. π
now for the aesthetic details, because of course we care about aesthetics:
- Curves drawn by
CURVE3show up in the current polyline color, as determined by the last call to the GKS routineGSPLCI. by default, color index1is used. so if you never touchedGSPLCI, you're getting color1, periodt. - Line width is determined by the last call to the GKS routine
GSLWSC. by default, the line width scale factor is1. skinny legend by default, but you can change that. β¨
πΈ C-BINDING DESCRIPTION πΈ
the C-binding argument descriptions are the same as the FORTRAN argument descriptions. same facts, different language, we love a bilingual queen π«Ά
π EXAMPLES π
use the ncargex command to see the following relevant examples:
tthreefthex03
go look at them, they're right there, they ate π₯
π ACCESS π
to use CURVE3 or c_curve3, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β preferably in that order. yes, the order matters. do it in that order bestie, don't fight the system π
π§ SEE ALSO π§
Online:
threedfence3frst3line3perim3point3psym3pwrzpwrztset3threedtick3tick43vect3ncarg_cbind
(yes, threed is listed twice. i don't make the rules, i just transcribe them with love. π)
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 real talk for one sec β the use of this Software is governed by a License Agreement. that's a real legal thing, not a vibe, so please actually respect it. π«Ά
that's the whole page bestie, you're officially a CURVE3 expert now π
β¨ this was the CURVE3(3NCARG) page from the NCAR GRAPHICS manual, UNIX version, dated March 1993 β old enough to be vintage, still serving looks. go draw some curves. slay. ππ
π¦ 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