0

enter image description here

I have the need to draw this project on Tikz, I have some doubts and I can not begin.

closed as off-topic by Raaja, user156344, Dox, Kurt, Sebastiano Apr 2 at 15:05

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

6
\documentclass[tikz,border=3.14mm]{standalone}
\begin{document}
\begin{tikzpicture}[bbt/.style={draw=blue,solid,thick,fill=blue!50,circle,inner sep=2pt}]
 \draw (-0.5,0) -- (5,0) (0,-0.5) -- (0,5);
 \draw[dotted] (0,1) node[left]{$y_1$} -- (1,1) node[bbt,label=above:$A$] (A){} -- (1,0)
  node[below]{$x_1$};
 \draw[dotted] (0,4) node[left]{$y_2$} -- (4,4) node[bbt,label=above:$B$] (B){}  {} -- (4,0)
  node[below]{$x_2$};
 \draw[purple] (A) -- (B) node[midway,above,sloped] {$d_{A,B}$};
\end{tikzpicture}
\end{document}

enter image description here

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