利用luadraw还挺简单的,要实现「要求取点多但网格线少」好像也只要改一个参数...
\documentclass{standalone}
\usepackage[svgnames]{xcolor}
\usepackage[3d]{luadraw}
\usepackage{fourier}
\begin{document}
\begin{luadraw}{name=saddle}
local g = graph3d:new{
window3d={-2,2,-2,2,-2,2},
adjust2d=true,size={10,10}
}
local f = function(x,y) return 0.3*(x*x - y*y) end
local s = cartesian3d(f, -1.5, 1.5, -1.5, 1.5,{10,10})
-- The function cartesian3d(f, x1, x2, y1, y2 [, grid, addwall])
-- change the parameter grid to get less facets
g:Dboxaxes3d{grid=true}
g:Dfacet(s, {color="Orange", mode=mShaded})
g:Show()
\end{luadraw}
\end{document}




















问 用Latex画马鞍面,要求取点多但网格线少,如何实现?