举几个实例,不知能否满足你的要求:
syms xt
ezplot('t*cos(t)','t*sin(t)',[0,4*pi])
t=0:pi/20:2*pi;
y=exp(sin(t));
plotyy(t,y,t,y,'plot','stem')
t=0:pi/50:15*pi;
plot3(sin(t),cos(t),t,'r*')
v=axis
text(0,0,0,'Origin')
[x,y]=meshgrid([-2:0.1:2]);
z=x.*exp(-x.^2-y.^2);
subplot(1,2,1)
plot3(x,y,z)
subplot(1,2,2)
surf(x,y,z)
[x,y,z]=peaks(30);
pcolor(x,y,z);
shading interp
hold on
Contour(x,y,z,20,'k')
colorbar('horiz')
c=Contour(x,y,z,8);
clabel(c)
x=0:0.1:10;
y=sin(x);
fill([x,10],[y,0],'r')
x=0:0.01*pi:pi*16;
j=sqrt(-1);
subplot(2,2,1);
plot(abs(sin(x)).*(cos(x)+j*sin(x)),'LineWidth',3);
xlim([-1 1]);ylim([-1,1]);
subplot(2,2,2);
plot(abs(sin(x/2)).*(cos(x)+j*sin(x)),'LineWidth',3);
xlim([-1 1]);ylim([-1,1]);
subplot(2,2,3);
plot(abs(sin(x/3)).*(cos(x)+j*sin(x)),'LineWidth',3);
xlim([-1 1]);ylim([-1,1]);
subplot(2,2,4);
plot(abs(sin(x/4)).*(cos(x)+j*sin(x)),'LineWidth',3);
xlim([-1 1]);ylim([-1 1]);
[x,y,z]=peaks(25);
figure
surf(x,y,z)
mesh(x,y,z)
X=-10:0.1:10;
Y=-10:0.1:10;
[X,Y]=meshgrid(X,Y);
Z=-X.^2-Y.^2+200;
mesh(X,Y,Z)