绘制函数z = x2 + y2所表示的三维网格图时间:2021-12-03 03:55:23 [X,Y] = meshgrid(-3:0.1:3); %定义要画的范围和间隔 Z=(X.*X+Y.*Y); mesh(X,Y,Z)