Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. documentclass[tikz,border=3.14mm]{standalone}
  2. begin{document}
  3. begin{tikzpicture}[bullet/.style={circle,fill,inner sep=1.5pt,node contents={}}]
  4. draw (0,0) node[bullet,label=left:$P_C(x)$,alias=PC] -- (15:3) coordinate[midway] (aux)
  5. node[bullet,label=above right:$x$] -- ++ (-145:4.5) node[midway,below right]{$|x-z|$} node[bullet,label=below left:$z$];
  6. draw (PC) to[out=105,in=0] ++ (-0.75,1) to[out=180,in=105] ++ (-1.5,-3)
  7. node[above right]{$C$} to[out=-75,in=180] ++ (1.25,-1) to[out=0,in=-75] cycle;
  8. draw[shorten <=2pt,-latex] (aux) to[out=90,in=-90] ++ (110:0.8) node[above]{$|x-P_C(x)|$};
  9. end{tikzpicture}
  10. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement