Dashline_params(3NCARG)
π NAME π
Dashline_params β the girl who spills ALL the tea on every single internal parameter of the Dashline utility. We're in the NCAR GRAPHICS manual, section 3NCARG, and yes bestie, it's giving reference page energy. π
β¨ DESCRIPTION β¨
Okay so first thing's first, and it's a little tragic: there are NO parameter-access routines for Dashline. None. Zero. Nada. π The parameters get set through the common blocks SMFLAG, INTPR, and DASHD1, and that's just how it is. iykyk.
Also, plot twist: there are four different versions of Dashline β normal, quick, smooth, and super. Which one you get depends on the options you used on the ncargf77 command line. And the lines drawn by the different versions can vary <em>considerably</em> in appearance. like, considerably considerably. π
Here's the whole set of common blocks you can use to access any of Dashline's internal parameters:
COMMON /SMFLAG/ IOFFS
COMMON /INTPR / IPAU,FPART,TENSN,NP,SMALL,L1,ADDLR,ADDTB,MLLINE,
+ ICLOSE
COMMON /DASHD1/ ISL,L,ISIZE,IP(100),NWDSM1,IPFLAG(100),MNCSTR,IGP
And now, the vibe check on which parameters actually do something in which version. Y = it has an effect, N = no effect, no notes:
ADDLRβ QUICK:N, NORMAL:N, SMOOTH:N, SUPER:YADDTBβ QUICK:N, NORMAL:N, SMOOTH:N, SUPER:YFPARTβ QUICK:N, NORMAL:Y, SMOOTH:Y, SUPER:YICLOSEβ QUICK:Y, NORMAL:Y, SMOOTH:Y, SUPER:YIGPβ QUICK:N, NORMAL:Y, SMOOTH:Y, SUPER:YIOFFSβ QUICK:N, NORMAL:N, SMOOTH:Y, SUPER:YIPAUβ QUICK:Y, NORMAL:Y, SMOOTH:Y, SUPER:YL1β QUICK:N, NORMAL:N, SMOOTH:Y, SUPER:YMLLINEβ QUICK:N, NORMAL:N, SMOOTH:N, SUPER:YNPβ QUICK:N, NORMAL:N, SMOOTH:Y, SUPER:YSMALLβ QUICK:N, NORMAL:N, SMOOTH:Y, SUPER:YTENSNβ QUICK:N, NORMAL:N, SMOOTH:Y, SUPER:Y
πΈ PARAMETER DESCRIPTIONS πΈ
Time for the main character moment. Every parameter, explained, no skips. π«Ά
ADDLRβ the amount of free space to be left on the left and on the right of each character string, stated as the desired number of NDCs (Normalized Device Coordinates) times1023. This only affects the "super" version of Dashline; it changes the size of the area marked around a label in the bit map that is used for culling crowded lines. [Default =2.(2./1023.NDCs)]ADDTBβ the amount of free space to be left on the top and on the bottom of each character string, stated as the desired number of NDCs (Normalized Device Coordinates) times1023. This only affects the "super" version of Dashline; it changes the size of the area marked around a label in the bit map that is used for culling crowded lines. [Default =2.(2./1023.NDCs)]FPARTβ a multiplication factor for the length of the first solid line segment on any curve. You can use this to offset labels, iconic behaviour honestly. For example, ifFPART = .5, the first solid line segment is only one-half as long as the other solid line segments. This will move all labels on the current curve towards the beginning of the curve and thereby reduce the probability of a label being written on top of a label on a nearby curve drawn withFPART = 1. [Default =1.]ICLOSEβ an internal or external call to move the "drawing pen" (pen-up) to a specific position is executed only if the position is more thanICLOSEunits away from the current pen position (the distance is measured as the absolute difference in X-coordinates plus the absolute difference in Y-coordinates). The unit of measurement is32767integer units in each of the X and Y dimensions. [Default =6]IGPβ flag to control whether gaps are left for labels along a curve. If no gaps are left, the labels don't look as good, but you can be sure of what the curve is doing in the regions occupied by the labels. Tradeoffs, bestie. π9β a gap is left.0β no gap is left.
[Default = 9]
IOFFSβ flag used to turn smoothing off.0β smoothing.1β no smoothing.
[Default = 0]
IPAUβ the length of the gap or solid line associated with each element of a dash pattern defined by a call toDASHDB, given as the desired value in NDCs (Normalized Device Coordinates) times1023. Such a dash pattern is repeated approximately everyREAL(IPAU)/64.NDC units along the length of a curve. [Default =3(3./1023.NDCs)]L1β the maximum number of points to be saved at one time. If there are more thanL1points on a given line,L1points are processed, then the nextL1, and so on, until the entire line is processed. Smoothness between segments is maintained automatically, we love that for us. β IfL1is increased, the dimensions ofXSAVE,YSAVE,XP,YP,TEMP, andSLENin the routineFDVDLDmust be increased to the new value ofL1. [Default =70]MLLINEβ the maximum length in either coordinate of a single line segment to be processed by the crowded line algorithm. Line segments longer thanMLLINEunits in either coordinate are broken into smaller segments, each of which is processed separately. This is done to prevent anomalies in the removal of long line segments, since only the starting point and end point of each line segment is checked in that process. The unit of measurement is32767integer units in each of the X and Y dimensions. [Default =384]NPβ determines how many points are used to draw each smoothed curve. The value ofNPis twice the maximum number of interpolated points on a horizontal curve with length equal to that of the width of the grid. More points per unit length are interpolated for short lines than for long lines. [Default =150]SMALLβ when the points on a line are being processed, only the first of two consecutive points is saved if the points are less thanSMALLunits apart. This procedure is to prevent cusps. The unit of measurement is32767integer units in each of the X and Y dimensions. [Default =128.]TENSNβ tension factor. Must be greater than0.A large tension factor (30.) would essentially turn off smoothing. [Default =2.5]
π SEE ALSO π
Online: dashline, curved, dashdb, dashdc, frstd, lastd, lined, reset, vectd, ncarg_cbind
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.
okay that's the whole page, we ate and left no crumbs π this was the UNIX release from March 1993, filed under Dashline_params(3NCARG). go forth and dash, bestie π¦β¨
π¦ 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