EZHFTN(3NCARG)
π EZHFTN π β the NCAR Graphics girlie's guide
okay bestie, welcome to EZHFTN from the NCARG manual, section 3. she's a little vintage, she's a little obsolete, but she still shows up and does her thing, and honestly? iconic.
β¨ NAME β¨
EZHFTN β draws a half-tone picture from data stored in a rectangular array, with the intensity in the picture proportional to the data value. yes literally, the numbers in your array become the vibes of the picture. low number = low intensity, high number = high intensity. slay. π
π§° UTILITY π§°
this routine is part of the Halftone utility in NCAR Graphics. if you wanna see the overview man page for this whole utility, you just type:
man halftone
and she will tell you everything. periodt. π
β οΈ STATUS β οΈ
okay so, real talk. EZHFTN is obsolete. she has been replaced by the CPCICA entry of the Conpack contouring package.
EZHFTN is still hanging around for compatibility with early NCAR Graphics codes β she's the friend who never left the group chat β but if you are writing new code, we suggest that you use CPCICA. fr fr. π«Ά
π SYNOPSIS π
CALL EZHFTN (Z,M,N)
πΈ DESCRIPTION πΈ
Zβ an input array of typeREAL, and it's the two-dimensional field you want half-tone plotted. this is the main character of the whole operation tbh. β¨Mβ an input parameter of typeINTEGER, and it's the first dimension of theZarray.Nβ an input parameter of typeINTEGER, and it's the second dimension of theZarray.
π USAGE π
so here's the tea: EZHFTN has a shortened argument list compared to the entry HAFTON. she gets away with it because she assumes all of these things are true:
- the entire
Zarray is to be plotted. no skipping, no editing, the whole thing. π― - the lowest value in
Zwill be at the lowest intensity of the output device. - the highest value in
Zwill be at the highest intensity of the output device. - other values in
Zwill appear linearly spaced. (evenly, bestie. evenly. π) - the maximum number of intensities will be used.
- the picture will have a perimeter drawn.
- the frame will be advanced after the picture is drawn.
- the
Zarray contains no missing values. not one. zero. nada. π
if these conditions are not met, use the HAFTON entry instead. do not come for EZHFTN with your missing values, she will simply not understand. π
π ACCESS π
to use EZHFTN, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c β preferably in that order. the order matters, bestie, don't freestyle it. π
π SEE ALSO π
Online: halftone, hafton, halftone_params, conpack, conpack_params, cpcica
Hardcopy: NCAR Graphics Contouring and Mapping Tutorial; 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 one came from the UNIX manual, dated March 1993, and yes she is still out here serving EZHFTN(3NCARG) realness all these years later. drink some water, load your libraries in the right order, and go plot something gorgeous. mwah. ππ¦πΈ
π¦ 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