简体   繁体   English

在Matlab /八度中绘制没有轴和键合盒的图形

[英]plotting without axis and bonding box in matlab / octave

I have two plots below. 我下面有两个情节。 How can I get rid of the axis and the bonding box on the second plot? 如何摆脱第二个绘图上的轴和粘接盒? I'm using octave 3.8.1 我正在使用八度3.8.1

Plot command I use to create plots. 我用来创建绘图的绘图命令。

clf(figure(1))
figure (1);
plot(xfreq_orig(1:3000),yamp_orig(1:3000)); 
print ('-dpng','-S1024,768', strcat('/tmp/','01_graph.png')); %export plot to file

hold on;

clf(figure(2))
figure (2);
plot(xfreq_orig(1:3000),yamp_inv(1:3000),'r')
print ('-dpng','-S1024,768', strcat('/tmp/','02_graph.png')); %export plot

第一地块

第二情节

It's as simple as 就这么简单

axis off

You could also try 您也可以尝试

box off

which just disable some parts of the axis border 只是禁用了轴边框的某些部分

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM