美文网首页
数据绘制

数据绘制

作者: H_f129 | 来源:发表于2019-04-17 19:50 被阅读0次

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 %图形颜色

相关文章

网友评论

      本文标题:数据绘制

      本文链接:https://www.haomeiwen.com/subject/lhdowqtx.html