gusucode.com > 《精通matlab 7》包括配套光盘 > 配套光盘里的程序附件/Ex-36/Ex3619.m
%例36-19 二维和三维散点图 x=rand(1,15); y=rand(1,15); z=rand(1,15); subplot(1,2,1) scatter(x,y,'r*') subplot(1,2,2) scatter3(x,y,z,'bo')