My question refers to this post:
Plot an elliptic curve in Latex
I hope it is not too similar, but the answers in this questions did not work for me.
I am trying to plot this in Latex 
But when I try this with the code from the answers in question "Plot an elliptic curve in Latex" I keep getting a curve that is open on the left side.
I am working with Texmaker and want to include this plot in a documentclass
\documentclass[11pt,a4paper,british,openright]{book}
I would be really happy if someone could tell me my mistake when implementing this for Latex, or a way how to do it right.
In a comment someone told me to change the "domain" part. But I don't know what this part is doing for my plot, and so in the end it gets quite messy.
\documentclass[border=5pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{pgfplots}
\pgfplotsset{
compat=1.12,
}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
xmin=-3,
xmax=4,
ymin=-7,
ymax=7,
xlabel={$x$},
ylabel={$y$},
scale only axis,
axis lines=middle,
% set the minimum value to the minimum x value
% which in this case is $-\sqrt[3]{7}$
domain=-2.646:4,
samples=200,
smooth,
% to avoid that the "plot node" is clipped (partially)
clip=false,
% use same unit vectors on the axis
axis equal image=true,
]
\addplot [red] {sqrt(x^3+7)}
node[right] {$y^2=x^3+7$};
\addplot [red] {-sqrt(x^3+7)};
\draw[color=blue] (-4, 0) node[left] {$\bullet$};
\draw[color=blue] (-1.71, 1.4) node[left] {$P_1$};
\draw[color=blue] (-1.71, 1.4) node[left] {$\bullet$};
\draw[color=blue] (0.33,2.65) node[left] {$P_2$};
\draw[color=blue] (0.33,2.65) node[left] {$\bullet$};
\draw[color=blue] (1.76, 3.53) node[left] {$R$};
\draw[color=blue] (1.76, 3.53) node[left] {$\bullet$};
\draw[color=blue] (1.76, -3.53) node[left] {$P_3 = P_1+P_2$};
\draw[color=blue] (1.76, -3.53) node[left] {$\bullet$};
\end{axis}
\end{tikzpicture}
\end{document}
(This is one of my many tries to make it work.)
It looks like this:

I would be really thankfull if someone could help me with this.
All the best,
Luca


postscript(Adobe's page description programming language) to plot graphics. For LaTeX users, it's easier to learn than TiKZ, in my opinion, because it uses LaTeX commands. Of the two answers to the above-mentioned questions, mine was based on pstricks. Did you try to compile its code? – Bernard Nov 29 '16 at 13:33pstricks-addhas recently been split into a newpstricks-addandpst-arrow. This means you should update your distribution. – Bernard Nov 29 '16 at 13:56