I try to plot a elliptic curve with this code:
\documentclass{article}
\usepackage{amssymb}
\usepackage{tikz}
\usepackage{pgfplots}
\begin{document}
\begin{figure}[htp]
\centering
\begin{tikzpicture}
\begin{axis}[
xmin=-2, xmax=2,
ymin=-2, ymax=2,
axis lines=center,
xlabel={$x$},
ylabel={$y$},
samples=200]
\addplot [blue] {sqrt(x^3 - x + 1};
\addplot [blue] {-sqrt(x^3 - x + 1)};
\end{axis}
\end{tikzpicture}
\caption{Elliptische Kurve in der Form $x^3-x+1$ im $\mathbb{R}2$}
\label{fig:Elliptische Kurve}
\end{figure}
\end{document}
My problem is that in the plot is a visible gap. Does exists a solution for this issue?


