There's a cheaty way by exploiting a special dash pattern: \draw[line cap=round, dash pattern=on 0pt off 1cm, line width=3pt] (0,0) grid[xstep=1cm,ystep=0](10,10); Otherwise you can use loops directly: \fill[radius=1.5pt] foreach \x in {0,...,10} {foreach \y in {0,...,10} {(\x,\y) circle[]}};
– QrrbrbirlbelFeb 08 '23 at 11:35
1
Welcome. // Here are two examples, which use \foreach https://tex.stackexchange.com/questions/45808/tikz-grid-lines, https://texample.net/tikz/examples/3d-graph-model/ . // You may also want to have a look here https://tex.stackexchange.com/questions/tagged/foreach+tikz-pgf and perhaps modify the search. // Here are some tikz sources https://tex.stackexchange.com/a/674254/245790 .
– MS-SPOFeb 08 '23 at 11:37
2
Check the manual of tikz or take a look at the VisualTikZ examples found here: https://mirror.koddos.net/CTAN/info/visualtikz/VisualTikZ.pdf
– alchemistFeb 08 '23 at 11:41
\draw[line cap=round, dash pattern=on 0pt off 1cm, line width=3pt] (0,0) grid[xstep=1cm,ystep=0](10,10);Otherwise you can use loops directly:\fill[radius=1.5pt] foreach \x in {0,...,10} {foreach \y in {0,...,10} {(\x,\y) circle[]}};– Qrrbrbirlbel Feb 08 '23 at 11:35tikzor take a look at the VisualTikZ examples found here: https://mirror.koddos.net/CTAN/info/visualtikz/VisualTikZ.pdf – alchemist Feb 08 '23 at 11:41