von esdd » Mi 16. Okt 2019, 10:03
Da gibt es viele verschiedene Möglichkeiten, u.a.
\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\draw (0,0) -- (1,0);
\draw[fill=white] (1,0) circle [radius=2pt];
\end{tikzpicture}
\begin{tikzpicture}
\draw[shorten > = 2pt] (0,0) -- (1,0);
\draw (1,0) circle [radius=2pt];
\end{tikzpicture}
\begin{tikzpicture}
\draw
(0,0) -- ({1cm-2pt},0)
(1,0) circle [radius=2pt]
;
\end{tikzpicture}
\begin{tikzpicture}
\path
(1,0)
node [draw,circle,inner sep=0pt,minimum size=4pt](c){}
edge (0,0)
;
\end{tikzpicture}
\begin{tikzpicture}
\path
(0,0) coordinate (O)
(1,0)
node [draw,circle,inner sep=0pt,minimum size=4pt](c){}
edge (O)
;
\end{tikzpicture}
\end{document}
Was man nimmt, hängt vom Kontext ab.
Da gibt es viele verschiedene Möglichkeiten, u.a.
[code]\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\draw (0,0) -- (1,0);
\draw[fill=white] (1,0) circle [radius=2pt];
\end{tikzpicture}
\begin{tikzpicture}
\draw[shorten > = 2pt] (0,0) -- (1,0);
\draw (1,0) circle [radius=2pt];
\end{tikzpicture}
\begin{tikzpicture}
\draw
(0,0) -- ({1cm-2pt},0)
(1,0) circle [radius=2pt]
;
\end{tikzpicture}
\begin{tikzpicture}
\path
(1,0)
node [draw,circle,inner sep=0pt,minimum size=4pt](c){}
edge (0,0)
;
\end{tikzpicture}
\begin{tikzpicture}
\path
(0,0) coordinate (O)
(1,0)
node [draw,circle,inner sep=0pt,minimum size=4pt](c){}
edge (O)
;
\end{tikzpicture}
\end{document}
[/code]
Was man nimmt, hängt vom Kontext ab.