椭圆曲线(elliptic curve),在曲线上描点
\usepackage{pgfplots}\pgfplotsset{compat=1.12,}\begin{document}\begin{tikzpicture}\begin{axis}[xmin=-4,xmax=5,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=-1.912931:3,% <-- works for pdfLaTeX and LuaLaTeX% domain=-1.91293118:3, % <-- would also work for LuaLaTeXsamples=200,smooth,% to avoid that the "plot node" is clipped (partially)clip=false,% use same unit vectors on the axisaxis equal image=true,]\addplot [black] {sqrt(x^3+x+2)}node[right] {$y^2=x^3+x+2$};\addplot [black] {-sqrt(x^3+x+2)};\end{axis}\end{tikzpicture}\end{document}
如果觉得《【LaTeX应用】绘制椭圆曲线图形》对你有帮助,请点赞、收藏,并留下你的观点哦!