GCREATE_SEG(3NCARG)
β¨ GCREATE_SEG β¨ β the NCAR Graphics girlies' guide π
okay bestie, welcome to the GCREATE_SEG(3NCARG) page, straight out of the NCAR GRAPHICS manual π
this one's short and sweet but it's foundational, so pay attention, no cap.
πΈ NAME πΈ
gcreate_seg β it creates a GKS segment. that's it. that's the whole job. and she does it flawlessly. π
π SYNOPSIS π
#include <ncarg/gks.h>
void gcreate_seg(Gint seg_name);
like... look at her. one line of header, one function call. minimalism is the moment fr fr. β¨
π¦ DESCRIPTION π¦
seg_name(Input) β this is the segment identifier, and it's the name you're gonna be throwing at every subsequent segment function that applies to this segment. think of it as the group-chat name for your segment β once you pick it, that's how everybody addresses her. π¬
okay so the tea β: there can be a maximum of 100 segments in a given job step. one hundred. that's the ceiling, bestie, and she is NOT flexible about it. π
legal values for seg_name are integers between 0 and 99 inclusive. so 0? valid. 99? valid. 100? absolutely not, don't even try it, the vibes will be off. π
reminder bestie:0through99inclusive. the math girlies know inclusive means both ends count. π
π₯ ACCESS π₯
to use the GKS C-binding routines, you gotta load the ncarg_gks and ncarg_c libraries. load both. not one. both. it's giving duo, it's giving dynamic duo, it's giving you can't have one without the other. π«Ά
π SEE ALSO π
Online: geval_tran_matrix(3NCARG), gaccum_tran_matrix(3NCARG), gclose_seg(3NCARG), gcopy_seg_ws(3NCARG), gdel_seg(3NCARG), ginq_name_open_seg(3NCARG), ginq_set_seg_names(3NCARG), gset_seg_tran(3NCARG), gks(3NCARG), ncarg_gks_cbind(3NCARG)
like, the whole segment cinematic universe is right there. go read them. iykyk. β¨
Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Fundamentals, UNIX Version
yes bestie, actual physical books. vintage. iconic. ππ
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
periodt. π
and that's the page!! tysm for reading, you ate that π this was GCREATE_SEG(3NCARG) from the NCAR GRAPHICS manual, UNIX edition, dated March 1993 β yes she's a 90s baby and she's still slaying π mwah, go make some segments πβ¨
π¦ 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