99

Instead of drawing a dashed line as follows:

\draw [dashed] (10,1) -- (10,11);

I would like to draw a list of dots from (10,1) to (10,11), like ........., but vertically. Could anyone tell me what to put at the place of [dashed]?

N.N.
  • 36,163
SoftTimur
  • 19,767
  • See also http://tex.stackexchange.com/questions/27258/how-do-i-write-underline-text-but-with-a-dotted-line – gavenkoa Nov 07 '11 at 22:08
  • https://tex.stackexchange.com/questions/101262/dotted-lines-in-tikz-with-round-dots/101263#101263 – Hotschke May 21 '19 at 15:06

1 Answers1

131

Use \draw[dotted] or \draw[densely dotted] or \draw[loosely dotted], for example.

Stefan Kottwitz
  • 231,401
  • What I haven't been able to find in the documentation is how to set the space between the dots or how to set the size of the dots for a dotted line. Do you know where I can find this information? – A.Ellett Sep 26 '13 at 00:16
  • 2
    See http://tex.stackexchange.com/questions/45275/tikz-get-values-for-predefined-dash-patterns – sandu May 21 '14 at 10:34
  • 1
    How would I use this in a mynode/.append style=? – buhtz Feb 26 '16 at 10:30
  • I used like this node/.style={rectangle,draw, dotted, ... – charelf Jun 03 '22 at 10:27