CURVE3(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

✨ 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 least N, of type REAL. 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 type INTEGER, 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 CURVE3 show up in the current polyline color, as determined by the last call to the GKS routine GSPLCI. by default, color index 1 is used. so if you never touched GSPLCI, you're getting color 1, periodt.
  • Line width is determined by the last call to the GKS routine GSLWSC. by default, the line width scale factor is 1. 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:

  • tthree
  • fthex03

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:

  • threed
  • fence3
  • frst3
  • line3
  • perim3
  • point3
  • psym3
  • pwrz
  • pwrzt
  • set3
  • threed
  • tick3
  • tick43
  • vect3
  • ncarg_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 (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