GUPD_WS(3NCARG)

πŸ’– GUPD_WS πŸ’–

okay so bestie, welcome to the GUPD_WS page from the NCAR GRAPHICS manual (that's section 3NCARG btw, iykyk). it's short, it's sweet, it's literally the "okay we're done here, go show the people" button. let's get into it 🫢


✨ NAME ✨

gupd_ws β€” aka Update workstation β€” makes sure the workstation is current and that it reflects all the requests you've made. no cap, that's the whole job.


πŸŽ€ SYNOPSIS πŸŽ€

#include <ncarg/gks.h>

void gupd_ws(Gint ws_id, Gupd_regen_flag upd_regen_flag);

🌸 DESCRIPTION 🌸

okay so here's what you're handing it:

  • ws_id β€” (Input) a number that IDs the workstation you want updated. and listen, this has to be the same ws_id you used in some previous gopen_ws call, fr fr. don't just make one up, she'll know πŸ’€
  • upd_regen_flag β€” (Input) a flag that says whether the current picture should be regenerated. the possible values are:
    • GUPD_NOT_PEND β€” Postpone πŸ™ˆ
    • GUPD_PEND β€” Perform ✨
for the workstation types supported in NCAR GKS, this flag should always be set to GUPD_PEND. like, always always. periodt.

πŸ’… USAGE πŸ’…

calling gupd_ws flushes all the buffers to bring the workstation up to date. it's giving "okay bestie, hit send." πŸ“€


πŸ¦‹ ACCESS πŸ¦‹

to use the GKS C-binding routines, you gotta load the ncarg_gks and ncarg_c libraries. load them. don't forget. 🫢


⭐ SEE ALSO ⭐

Online:

  • sflush(3NCARG)
  • plotif(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.


and that's the whole vibe check πŸ’– this page lived on UNIX, dated March 1993, and it goes by GUPD_WS(3NCARG) β€” go flush those buffers, bestie, you ate πŸŒˆπŸŽ€