PCLOQU(3NCARG)
π PCLOQU π
okay bestie, welcome to the NCAR GRAPHICS corner of the manual, where we're talking about PCLOQU (say it with me: P-C-L-O-Q-U) π
β¨ NAME β¨
PCLOQU draws characters of "low quality" by calling the GKS character-drawing routines. No function codes may be used. Using PCLOQU to draw a given string of characters will create a smaller metafile than if PCHIQU or PCMEQU were used; the results will depend on capabilities of the translator. π
PLCHLQ is an alternate name for the routine PCLOQU. (yes queen, two names, same icon energy π)
πΈ SYNOPSIS πΈ
CALL PCLOQU (XPOS,YPOS,CHRS,SIZE,ANGD,CNTR)
π¦ C-BINDING SYNOPSIS π¦
#include <ncarg/ncargC.h>
void c_pcloqu (float xpos, float ypos, char *chrs,
float size, float angd, float cntr)
π DESCRIPTION π
XPOS,YPOSβ (input expressions of type REAL) these babies specify the positioning coordinates for the characters to be drawn. If the internal parameter'MA'has the value0, these are given in the current user coordinate system; otherwise, they are given in an arbitrary X/Y coordinate system, as implied by the value of'MA'and the nature of the routineCPMPXY. (For example, if'MA'has the value1and the default version ofCPMPXYis being used, thenXPOSis a longitude, in degrees, andYPOSis a latitude, in degrees.) The argumentCNTR(described below, keep scrolling bestie) specifies how the characters are to be positioned relative to the point(XPOS,YPOS). πCHRSβ (an input constant or variable of type CHARACTER) contains a character string to be drawn. The number of characters inCHRSis taken to beLEN(CHRS); to use characters"m"through"n"from a character variableCHRS, use the FORTRAN-77 substring notation"CHRS(m:n)". The string may include any of the 95 characters space, exclamation point, double quote, pound sign, dollar sign, percent sign, ampersand, apostrophe, left parenthesis, right parenthesis, asterisk, plus sign, comma, minus sign, period, slash, 0-9, colon, semi-colon, less than sign, equals sign, greater than sign, question mark, at sign, A-Z, left square bracket, backslash, right square bracket, hat, underscore, backwards quote, a-z, left curly bracket, vertical bar, right curly bracket, and tilde. Function codes, like those in calls toPCHIQU, may not be used. π«SIZEβ (an input expression of type REAL) specifies the desired character size. If the internal parameter'MA'is zero, then the following comments apply:- If
SIZEis less than or equal to zero, its absolute value specifies the size as a multiple of a default digitized size on a 1024x1024 grid, on which blanks are 16 units wide. - If
SIZEis greater than zero, but less than one, it specifies the desired width of a blank as a fraction of the distance across the plotter frame. This is the recommended scheme. (the one true path, fr fr) - If
SIZEis greater than or equal to one, it specifies the desired width of a blank in plotter coordinates, as defined by default or by a user's call to the SPPS routineSETI. Note that use of the routineSETIis now discouraged. π¬
- If
If 'MA' is nonzero, then SIZE is the desired width of a blank as a value in the X/Y coordinate system in which XPOS and YPOS are given.
Note that SIZE is defined in such a way as to be consistent with PCHIQU. β¨
ANGDβ (an input expression of type REAL) is the angle, in degrees counterclockwise from the positive X axis, at which the character string is to be written. πCNTRβ (an input expression of type REAL) is the centering option, as follows:CNTR < 0.means that(XPOS,YPOS)is the center of the left edge of the first character.CNTR > 0.means that(XPOS,YPOS)is the center of the right edge of the last character.CNTR = 0.means that(XPOS,YPOS)is the midpoint of the string.
Note that this argument is not quite the same as that for PCHIQU (though it does include the three most useful cases). π«Ά
Upon return from PCLOQU, all arguments are unchanged. no notes taken, no edits made, she just leaves everything exactly how she found it π
π C-BINDING DESCRIPTION π
The C-binding argument descriptions are the same as the FORTRAN argument descriptions. (same vibe, different language, iykyk π )
π EXAMPLES π
Use the ncargex command to see the following relevant examples:
arex01, tcnqck, tcnsmt, tcnsup, tconre, tezmap, tgflas, tgrida, thafto, thstgr, tisohr, tisosr, tlblba, tpltch, tpwrzi, tpwrzs, tsoftf, tstrml, tthree, tvelvc.
(that's the whole roster, bestie β go look at all of them, they ate π₯)
β ACCESS β
To use PCLOQU or c_pcloqu, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order. order matters, don't be chaotic π
π§ SEE ALSO π§
Online: plotchar, pcdlsc, pcgetc, pcgeti, pcgetr, pchiqu, pcmequ, pcmpxy, pcpnwi, pcrset, pcsetc, pcseti, pcsetr, ncarg_cbind.
Hardcopy: NCAR Graphics Fundamentals, UNIX Version
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.
ok that's the whole page, you're officially educated π now go draw some low-key iconic low-quality characters and make a tiny metafile, main character energy only β¨
mwah π this page lives in the UNIX manual, dated March 1993, and yes she's still slaying all these decades later. periodt. π
π¦ 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