FRSTPT(3NCARG)
β¨ FRSTPT β¨ β it's giving "pen up, bestie" ποΈπ
NCAR GRAPHICS manual page, third section of the NCAR Graphics docs (3NCARG). Yes bestie, we're in the C/FORTRAN graphics lore today. Sit down, hydrate, let's go. π«Ά
π NAME π
FRSTPT β ok so what this does is generate a "pen-up" move to a specified point in the user coordinate system. That's the whole vibe. π
And like, FRSTPT does not work alone, no ma'am, it's a duo. It's used in conjunction with the routine VECTOR to actually draw lines. They're a package deal, fr fr. π
πΈ SYNOPSIS πΈ
CALL FRSTPT (PX,PY)
That's it. That's the call. Iconic behaviour honestly.
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/ncargC.h>
void c_frstpt (float px, float py)
Look at her, bilingual. π
β¨ DESCRIPTION β¨
PXβ an input expression of typeREALthat defines the X user coordinate. π«PYβ an input expression of typeREALthat defines the Y user coordinate. π«
Two reals, one dream. No cap.
π C-BINDING DESCRIPTION π
The C-binding argument descriptions are the same as the FORTRAN argument descriptions. Literally the same. The C version woke up and chose to be a copy of the FORTRAN one and honestly? Respect. π
π₯ USAGE π₯
Okay so here's the tea. π
Polyline type, line width, and color can all be set by calling the GKS routines GSLN, GSLWSC, GSCR, and GSPLCI before calling FRSTPT. Set your aesthetic first, then draw. Main character energy only. π
β οΈ IMPORTANT BESTIE, DO NOT SKIP THIS β οΈ Note that, for the sake of efficiency, the routinesFRSTPTandVECTORbuffer the polylines resulting from pen moves. So you must be sure to flush the SPPS polyline buffer before changing polyline attributes. She is holding onto your strokes in memory and she will not let go until you tell her to. π And how do you flush it? ACALL PLOTIF (0.,0.,2)will flush the buffer. That's the magic incantation. Write it down. Tattoo it. π
π EXAMPLES π
Use the ncargex command to see the following relevant examples: tgflas.
That's the one, bestie. Go run ncargex and see her in action. β¨
π ACCESS π
To use FRSTPT or c_frstpt, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order.
Order matters, okay??ncarg, thenncarg_gks, thenncarg_c. Do not shuffle them like a playlist. π
π SEE ALSO π
Online: gpl, gsln, gslwsc, gscr, gsplci, spps, spps_params, vector, line, curve, ncarg_cbind
Hardcopy: NCAR Graphics Fundamentals, UNIX Version; User's Guide for NCAR GKS-0A Graphics
Go read the girlies too, they're all connected. iykyk. π§
π 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 page, bestie. π This one comes from the UNIX flavour of the manual, dated March 1993, and lives at FRSTPT(3NCARG). Now go flush that buffer before you change your polyline attributes. I'm literally begging. ππΈπ
π¦ where this page comes from
- epel 9: ncl-devel 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-devel 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-devel 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms