nnalg(1NCARG)

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

✨ nnalg β€” bestie edition ✨

okay so real quick, the manual name is nnalg(1NCARG) and it lives under NCAR GRAPHICS πŸ’– welcome to the Natgrid algorithm show-and-tell, she's iconic, she's niche, she's literally the coolest.


πŸŽ€ NAME πŸŽ€

nnalg β€” a lil tool for displaying features of the Natgrid algorithm πŸ¦‹


🌸 SYNOPSIS 🌸

nnalg algorithmic_data_file

πŸ’… DESCRIPTION πŸ’…

okay so nnalg takes a single argument, and that argument is the name of a very special file. not just any file, bestie β€” this one gets created by the Fortran subroutine NATGRIDS or the C function c_natgrids in the Natgrid package πŸ‘‘

and what's inside it? data that's appropriate for displaying various features of the Natgrid algorithm. that's the whole vibe ✨

🚨 important: by default, this file is NOT created. like, it does not exist until you make it exist. to get it, you gotta set the parameter adf in the Natgrid package. and if you're feeling extra πŸ’… you can also override the default file name of nnalg.dat by using the parameter alg. yes queen, customize your life.

to invoke nnalg, simply type the command:

nnalg data_file

and then β€” the fun part β€” by editing the data file, you have many options as to what is displayed and what the appearance of the plot looks like. it's giving build-your-own-adventure but for graphs 🎨

the features that can be displayed are:

  1. The input data points
  2. The natural neighbor circumcircles
  3. The Delaunay triangulation, derived from the natural neighbor circumcircles
  4. The Voronoi polygons
  5. The first order natural neighbors of a given input point (or points)
  6. The second order natural neighbors of a given input point (or points)

and the tea β˜•: the first four items in the above list are displayed in the default case. so you get 1 through 4 for free, no edits required. slay.


🫢 USAGE 🫢

what gets displayed by nnalg depends on values in the input data file, which can be changed by manual editing ✍️

like. you literally open the file, you change the numbers, you change the plot. that's it. that's the whole mechanic. no cap.


πŸ‘€ SEE ALSO πŸ‘€

  • natgrid

complete documentation for nnalg is available at URL http://ngwww.ucar.edu/ngdoc/ng/ngmath/natgrid/algorithm.html β€” go read it, iykyk πŸ“š


Copyright (C) 2000 University Corporation for Atmospheric Research

The use of this Software is governed by a License Agreement.


and that's the whole page, bestie πŸ₯° this was nnalg(1NCARG) from the UNIX manual, dated March 1997-1998 β€” yes she's a vintage icon and she ate πŸ’…βœ¨ mwah, go plot something gorgeous πŸŒˆπŸ¦‹πŸŽ€

πŸ“¦ where this page comes from