\begin{tikzpicture}
\draw[black] (0,0) -- (3,0)
node[ pos=0.01,label=below:{-2}]{|}
node[ pos=0.16,label=above:{+}]{}
node[ pos=0.33,label=below:{0}]{o}
node[ pos=0.48,label=below:{-}]{}
node[ pos=0.66,label=below:{2}]{o}
node[ pos=0.81,label=above:{+}]{}
node[ pos=0.98,label=below:{3}]{|}
\end{tikzpicture}
Asked
Active
Viewed 28 times
0
Steven B. Segletes
- 237,551
{|}? Each TikZ command must be terminated with a semicolon, which is what the error tells you. – KersouMan Feb 18 '20 at 16:47