基于luadraw宏包:
Notes: 需要自行安装、使用lualatex编译...
\documentclass[border=4pt]{standalone}
\usepackage{luadraw}
\begin{document}
\begin{luadraw}{name=implicit_function}
local g = graph:new{
window={-1,3.5,-2,2},size={10,10}
}
g:Linecap("round");g:Linewidth(8)
local F = function(x,y) return (x-2)^2+y^2-16/((x+2)^2) end
g:Dimplicit(F,{grid={500,500},draw_options="thick"})
g:Daxes(
{0,4,3},{
arrows="-stealth",
labelpos={"top","right"},
originpos={"none","none"}
}
)
g:Show()
\end{luadraw}
\end{document} 






















问 用`tikz`中的`polt`绘制`y=sqrt{16/(x+2)^2-(x-2)^2}`的图像时最右端部分无法闭合?