AbsoluteDashing

AbsoluteDashing[{d1,d2,}]

is a graphics directive which specifies that lines which follow are to be drawn dashed, with successive segments having absolute lengths d1, d2, (repeated cyclically).

AbsoluteDashing[d]

is equivalent to AbsoluteDashing[{d,d}].

AbsoluteDashing[{d1,d2,},offset]

offsets the dashes by offset.

AbsoluteDashing[{d1,d2,},offset,capform]

sets the CapForm for individual dashes to capform.

Details

  • Dash and offset lengths are measured in units of printer's points, equal before magnification to of an inch.
  • AbsoluteDashing[{}] specifies that lines should be solid. »
  • AbsoluteDashing can be used in both two- and three-dimensional graphics, as well as in Style specifications.
  • The following symbolic forms for d can be used: Tiny, Small, Medium, and Large. »
  • If a segment has a length di specified as 0, it is drawn as a dot whose diameter is the thickness of the line.
  • offset is specified in printer's points, and it may be positive or negative. If offset is not specified, it is 0.
  • capform can take any of the legal form values in CapForm[form]. If not specified, all segments will be drawn with the "Butt" cap form.

Examples

open allclose all

Basic Examples  (3)

Specify the dashing of lines as successive segments with lengths in printer's points:

Use Dashed, Dotted, and DotDashed to specify predefined absolute dashings:

Scope  (4)

Dashing Specifications  (4)

No dashing:

AbsoluteDashing[d] is equivalent to AbsoluteDashing[{d,d}]:

Symbolic values for predefined absolute dashings:

Specify offset to dashed segments:

Specify caps to dashed segments:

Properties & Relations  (3)

AbsoluteDashing defines the length of a segment in units of printer's points:

AbsoluteDashing is independent of the image size:

Dashing defines the length of a segment as a fraction of the total width of the graphic:

Dashing depends on the image size:

AbsoluteDashing overrides the CapForm directive:

Specify the third argument to Dashing to set a cap form for all dashes:

Possible Issues  (1)

Line caps add to the length of individual dashes and may cause closely spaced dashes to overlap:

Neat Examples  (1)

Vary the offset for dashed rays out of the origin:

Wolfram Research (1991), AbsoluteDashing, Wolfram Language function, https://reference.wolfram.com/language/ref/AbsoluteDashing.html (updated 2021).

Text

Wolfram Research (1991), AbsoluteDashing, Wolfram Language function, https://reference.wolfram.com/language/ref/AbsoluteDashing.html (updated 2021).

CMS

Wolfram Language. 1991. "AbsoluteDashing." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/AbsoluteDashing.html.

APA

Wolfram Language. (1991). AbsoluteDashing. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AbsoluteDashing.html

BibTeX

@misc{reference.wolfram_2024_absolutedashing, author="Wolfram Research", title="{AbsoluteDashing}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/AbsoluteDashing.html}", note=[Accessed: 17-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_absolutedashing, organization={Wolfram Research}, title={AbsoluteDashing}, year={2021}, url={https://reference.wolfram.com/language/ref/AbsoluteDashing.html}, note=[Accessed: 17-November-2024 ]}