GSVP(3NCARG)
π GSVP β set viewport, bestie edition π
okay so real talk: this is the NCAR Graphics manual page for GSVP (aka Set viewport), and she's a little bit of a "we don't really do this anymore" girlie, but we're gonna learn her anyway because knowing things is the whole vibe. π
β¨ NAME β¨
GSVP (Set viewport) β she establishes a rectangular subspace of normalized device coordinates space. π¦
β οΈ ngl, calls toGSVPare discouraged with NCAR Graphics. Instead, use theSETsubroutine, becauseSETalso supports mirror imaging and log scaling of axes. periodt. π
πΈ SYNOPSIS πΈ
CALL GSVP (TRNUM, XMIN, XMAX, YMIN, YMAX)
π«Ά C-BINDING SYNOPSIS π«Ά
#include <ncarg/gks.h>
void gset_vp(Gint tran_num, const Glimit *vp_limits);
π DESCRIPTION π
the arguments, one by one, no skipping π
TRNUM(Integer, Input) β a normalization transformation number. The number of available transformations is implementation specific, iykyk. In the case of NCAR GKS-0A, two normalization transformations are provided:0β selects the identity transformation, in which both the window and viewport have the range of0.to1.in both coordinate directions. This is the default normalization transformation for GKS. It is also fixed within GKS; that is, it is illegal to callGSVPwithTRNUM = 0. π like, don't even try it bestie.1β a normalization transformation in which the viewport is defined byXMINtoXMAXandYMINtoYMAX.
XMIN(Real, Input) β the left horizontal coordinate of the viewport. π¦XMAX(Real, Input) β the right horizontal coordinate of the viewport.0. β€ XMIN < XMAX β€ 1.YMIN(Real, Input) β the bottom vertical coordinate of the viewport. π±YMAX(Real, Input) β the top vertical coordinate of the viewport.0. β€ YMIN < YMAX β€ 1.
the defaults, so you know what you get if you just vibe π
Defaults: TRNUM = 0, XMIN = 0.0, XMAX = 1.0, YMIN = 0.0, YMAX = 1.0
π ACCESS π
To use GKS routines, load the NCAR GKS-0A library ncarg_gks. literally just that. β¨
π SEE ALSO π
Online: set, gswn, gselnt, gqclip, gset_vp
Hardcopy: NCAR Graphics Fundamentals, UNIX Version; User's Guide for NCAR GKS-0A Graphics
π 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 icon of a manpage comes to you from the UNIX manual, dated 14 January 1992, filed under GSVP(3NCARG) β she's vintage, she's valid, and she ate. mwah. π
β¨
π¦ 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