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]?


1 Answer 1


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

  • 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, 2013 at 0:16
  • 2
    See tex.stackexchange.com/questions/45275/…
    – sandu
    May 21, 2014 at 10:34
  • 1
    How would I use this in a mynode/.append style=?
    – buhtz
    Feb 26, 2016 at 10:30
  • I used like this node/.style={rectangle,draw, dotted, ...
    – charelf
    Jun 3 at 10:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.