matlab 设定坐标比例

figure()
u=-0.1:0.005:0.1;
v=-0.1:0.005:0.1;
[x,y]=meshgrid(u,v); z=sin(x-y)./abs(x)+abs(y);
surf(x,y,z);
hold on
% contourf(x,y,z)
% ezplot('x+y=3')
% set(gca,'DataAspectRatio',[ ])
%axis equal
clc
clear u=-:0.1:;
v=-:0.1:;
[x,y]=meshgrid(u,v);
z=.*x.^ +.*y.^; surf(x,y,z);
hold on
t=:0.1:;
x1=t;y1=t;z1=-*t;
plot3(x1,y1,z1,'r'); plot3(,,,'r*')
quiver3(, , ,/,/,-/,'g') % 后面向量的3个分量除8是为了缩短长度
grid on
set(gca,'DataAspectRatio',[ ])
%axis equal

p点坐标(2,2,20)

上一篇:React Native系列(6) - 编译安卓私有React-Native代码


下一篇:android 自定义圆形进度条