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: 0 through 99 inclusive. 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 (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 πŸ’–βœ¨