I represented the Cartesian plane and a parabola. Why are the A, B, C, D, E points represented outside the Cartesian plane?
thank you all
here is my code:
\documentclass[margin=20pt]{standalone}
\usepackage{tikz}
\usepackage{pgfplots} %%%%%
\begin{document}
\begin{tikzpicture}[
dot/.style={
circle,fill,draw,minimum size=2mm,inner sep=0
}]
\begin{axis}[
axis equal image,
max space between ticks=20, % This is one way of getting a tick for every integer
ticklabel style={font=\scriptsize},
axis lines = middle,
xmin=-4.5, xmax=4.5, % The range over which the x axis is drawn
ymin=-4.5, ymax=4.5, % The range over which the y axis is drawn
domain=-4:4, % The range over which the function is evaluated
grid=both,
xlabel=$x$, ylabel=$y$
]
\addplot [very thick, blue, smooth] {x^2+2*x-3};
\end{axis}
%%%POINTS
\node [dot,label=below:\Large$A$] (a) at (-3,0) {};
\node [dot,label=left:\Large$B$] (b) at (-2,-3) {};
\node [dot,label=below:\Large$C$] (c) at (-1,-4) {};
\node [dot,label=right:\Large$D$] (d) at (0,-3) {};
\node [dot,label=right:\Large$E$] (d) at (1,0) {};
\end{tikzpicture}
\end{document}

anchor=originand replaceaxis equal imagebyx=1cm,y=1cm,. You can check this question for more infos. – Kpym Apr 29 '18 at 14:38