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 theGTXoutput primitive.
so like, how does the number actually work? here's the tea β:
CHXPof10.0would specify a character that is 10 times as wide as normal.CHXPof0.1would 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 π
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. π
β¨πΈ
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms