GCREATE_SEG(3NCARG)

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

πŸ’– GCREATE_SEG πŸ’– β€” the NCAR GRAPHICS era, bestie

okay so welcome to GCREATE_SEG from the NCAR GRAPHICS manual (that's the 3NCARG section, iykyk). this is the one that creates a GKS segment. that's it. that's the whole vibe. and honestly? iconic. πŸ‘‘


✨ NAME ✨

gcreate_seg β€” aka Create segment β€” literally just creates a GKS segment. no cap, that's the whole job description. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <ncarg/gks.h>

void gcreate_seg(Gint seg_name);

🌸 DESCRIPTION 🌸

  • seg_name (Input) β€” this is the segment identifier, and it's the name you'll be throwing around in all the subsequent segment functions that apply to this segment. so like, whatever you call it here is what you're calling it forever (or at least until you're done with it). πŸ’…

a couple of things you gotta know, bestie, and I'm gonna be so real with you:

  • there can be a maximum of 100 segments in a given job step. that's the ceiling. that's the limit. do not test it.
  • legal values for seg_name are integers between 0 and 99 inclusive. so 0? fine. 99? fine. 100? absolutely not, girl. 🚫
lowkey important: those bounds are not a suggestion. seg_name lives between 0 and 99, periodt. πŸ™ˆ

πŸ”₯ ACCESS πŸ”₯

to use the GKS C-binding routines, you gotta load the ncarg_gks and ncarg_c libraries. both of them. together. they're a package deal. 🫢


πŸ‘‘ 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)

Hardcopy:

  • User's Guide for NCAR GKS-0A Graphics
  • 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 that's the whole page, bestie, you ate it, go make some segments πŸ’–βœ¨πŸŒˆ

UNIX β€” March 1993 β€” that's the source, the version, and the date all wrapped up in a lil sign-off from your girl. mwah. πŸŽ€πŸ’…πŸ¦‹

πŸ“¦ where this page comes from