Table of contents


NAME

linestyle - line drawing styles for <PLOT79> package

DESCRIPTION

Line style in <PLOT79> is specified by an integer in the range (1-MAXINT, where MAXINT = largest integer on host computer). Values in the range 1-9 are predefined. Values (10-MAXINT) are treated as dash pattern specifications, with individual digits specifying a mark or space. The acceptable values are as follows:

Code	Description	Long Code
1	Solid line (default)
2	Dashed line (- - - - - - - -)	(32)
3-9	Hardware dependent (if available)
	Software simulated as follows:
3	-  -  -  -  -  -  -  -  -  - 	(34)
4	-- -- -- -- -- -- -- -- -- --	(52)
5	--  --  --  --  --  --  --   	(54)
6	--    --    --    --    --   	(56)
7	---- ---- ---- ---- ---- ----	(72)
8	----  ----  ----  ----  ---- 	(74)
9	----    ----    ----    ---- 	(76)

Where the long code is an alternate way of creating the same line style, using the rules for creating codes >= 10. For values of 10 or larger, the code digits are interpreted according to the following table:

Code	Length Description	Visibility Description
0,1	point	invisible,visible
2,3	very short	invisible,visible
4,5	short	invisible,visible
6,7	medium	invisible,visible
8,9	long	invisible,visible

Note that even digits correspond to spaces, and odd digits to marks. For example, 0 corresponds to an invisible point, and 7 to a visible medium length line segment. A pattern will normally be represented by alternating odd and even digits, but successive odd digits or even digits may be specified to accumulate mark or space lengths of non-standard sizes.

The sizes "very short" etc. depend on the values set in a DATA statement in the <PLOT79> routine setls.sf3. They are currently set as -, --, ----, and --------, where "-" represents a distance of 0.01 units in NDC space. A point has zero length. The dash patterns above are followed by the equivalent integer value which defines them. Some other examples are:

Code	Simulated Result
7212	---- . ---- . ---- . ---- .
1212	. . . . . . . . . . . . . .
1414	.  .  .  .  .  .  .  .  .
53212	--- . --- . --- . --- . --- .
72125212	---- . -- . ---- . -- . ---- . -- . ----

FILES

/usr/local/plot79/p79core/setls.sf3
<PLOT79> routine responsible for line styles

SEE ALSO

grapht(1L), graph3t(1L), slides(1L)

AUTHOR

Nelson H. F. Beebe, Ph.D.

Center for Scientific Computing

South Physics Building

University of Utah

Salt Lake City, UT 84112

Tel: (801) 581-5254

(Manual page by R. P. C. Rodgers, Computer Applications in Laboratory Medicine Project, UCSF, San Francisco, CA 94143).