代码搜索结果
找到约 18,795 项符合
X 的代码
liti10.m
x=-3:0.1:3; y=1:0.1:5;
[X,Y]=meshgrid(x,y);
Z=(X+Y).^2;
subplot(2,2,1); mesh(X,Y,Z)
subplot(2,2,2);mesh(X,Y,Z);view(50,-34)
subplot(2,2,3);mesh(X,Y,Z);view(-60,70)
liti12.m
[x,y,z]=peaks(30);
surf(x,y,z)
%shading flat
liti9.m
x=-3:0.1:3;y=1:0.1:5;
[X,Y]=meshgrid(x,y);
Z=(X+Y).^2;
plot3(X,Y,Z)
liti21.m
[x,y,z]=peaks(30);
cs=contour(x,y,z,8);
clabel(cs)
xlabel('x-axis'), ylabel('y-axis')
title('contour of peaks with labels')
liti17.m
x=linspace(-2.5,2.5,20);
y=exp(-x.*x);
stairs (x,y)
title('Stairs plot of a bell crure');
liti3.m
x=linspace(0,2*pi,30);
y=sin(x);
z=cos(x);
plot(x,y,x,z)
gtext('sin(x)');
gtext('cos(x)');
liti34.m
[X,Y]=meshgrid(-2:.2:2,-2:.2:3);
Z=X.*exp(-X.^2-Y.^2);
[C,h]=contour(X,Y,Z);
clabel(C,h)
colormap cool
liti24.m
x=-3:0.1:3; y=1:0.1:5;
[X,Y]=meshgrid(x,y);
Z=(X+Y).^2;
mesh(X,Y,Z)
liti13.m
x=linspace(0,2*pi,30);
y=sin(x);
plot(x,y)
zoom on
liti37.m
x=logspace(-1,2);
loglog(x,exp(x),'-s')
grid on