GSCHXP(3NCARG)

πŸ’– GSCHXP πŸ’– β€” it's giving NCAR GRAPHICS, bestie

okay so welcome to the NCAR Graphics corner of the manual, where we talk about GSCHXP, aka Set character expansion factor. This is a Fortran-callable GKS situation and she is, lowkey, a legend. ✨


🌸 NAME 🌸

GSCHXP (Set character expansion factor) β€” sets the width to height ratio of text. that's it, that's the whole job, and she does it flawlessly. πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

CALL GSCHXP (CHXP)

πŸ¦‹ C-BINDING SYNOPSIS πŸ¦‹

for my C girls, the header you need:

#include <ncarg/gks.h>

void gset_char_expan(Gdouble char_expan);

✨ DESCRIPTION ✨

  • CHXP β€” (Real, Input) β€” this is the one, the icon, the main character. It specifies a deviation of the width to height ratio for characters drawn using the GTX output primitive.

so like, how does the number actually work? here's the tea β˜•:

  • CHXP of 10.0 would specify a character that is 10 times as wide as normal.
  • CHXP of 0.1 would request characters that are 1/10th as wide as normal.

and the important part, no cap: the character height remains unchanged. she only stretches sideways, she does not grow vertically. periodt. 🫢

⚠️ heads up: CHXP > 0. that's a real constraint, bestie, don't come at her with a zero or a negative, she will not be serving that. 😭

and the default, in case you were wondering: CHXP = 1.0 🌈


πŸ‘‘ ACCESS πŸ‘‘

to use GKS routines, load the NCAR GKS-0A library ncarg_gks. that's the vibe check you gotta pass first. πŸ’œ


πŸ”₯ SEE ALSO πŸ”₯

Online:

gtx, gstxp, gstxal, gstxfp, gschh, gschsp, gschup, gscr, gstxci, gqtxp, gqtxal, gqtxfp, gqchh, gqchsp, gqchup, gqchxp, plotchar, gset_char_expan

Hardcopy:

User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Fundamentals, UNIX Version

iykyk, go read those if you want the full lore πŸ“š


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 was GSCHXP(3NCARG) from the NCAR GRAPHICS collection, and the footer tea is that this one is dated March 1993, UNIX flavor. iconic, timeless, still slaying. go set that expansion factor. πŸ’…βœ¨πŸŒΈ