数据绘制

2019-04-17  本文已影响0人  H_f129

plot(x,y)  %绘制图像

hold on。%在原先的图像上继续绘制

xlabel  %x轴

ylabel。 %y轴

print -dpng 'filename.png'   %生成图片

close

figure(1)  %命名图像 

subplot(1,2,1)  %划分

axis([x1 x2 y1 y2])。

clf;  %清除

imagesc 

colorbar %图像条

colormap %图形颜色

上一篇 下一篇

猜你喜欢

热点阅读