prettyplot:带有标记的更漂亮的线图。-matlab开发

时间:2021-06-01 15:02:38
【文件属性】:
文件名称:prettyplot:带有标记的更漂亮的线图。-matlab开发
文件大小:2KB
文件格式:ZIP
更新时间:2021-06-01 15:02:38
matlab PRETTYPLOT 的工作方式与 PLOT 类似,但避免了线条和标记相互重叠。 相反,该线连接标记而不接触它们。 例子图('位置',[200,200,800,600]) 坚持,稍等设置(gca,'xlim',[-3.2,3.2],'ylim',[-3,3]) x = -pi:pi/10:pi; y = tan(sin(x)) - sin(tan(x)); h = Prettyplot(x,y,'-+b',x,2*cos(x),'-xr','LineWidth',2,'MarkerSize',8); h = [h;prettyplot(x,randn(size(x)),'-o','LineWidth',1,'MarkerSize',6,'color',[0,0.8,0])]; Legend(h(1:2:end),'demo','cos','randn');
【文件预览】:
prettyplot.zip

网友评论