如何改变MATLAB坐标轴间隔?x=[20,22,24,26,28,30,32,34,36,38,40,42,44];y=[62.9,68.8,71.2,82.5,84.1,88.6,88.4,88.4,88.0,88.0,88.0,88.0,88.0];plot(x,y,'-r*');xlabel('Number of Gabor features');ylabel('classification recognition rate (%)');legend(
来源:学生作业帮助网 编辑:作业帮 时间:2024/08/04 05:47:33
![如何改变MATLAB坐标轴间隔?x=[20,22,24,26,28,30,32,34,36,38,40,42,44];y=[62.9,68.8,71.2,82.5,84.1,88.6,88.4,88.4,88.0,88.0,88.0,88.0,88.0];plot(x,y,'-r*');xlabel('Number of Gabor features');ylabel('classification recognition rate (%)');legend(](/uploads/image/z/2686389-69-9.jpg?t=%E5%A6%82%E4%BD%95%E6%94%B9%E5%8F%98MATLAB%E5%9D%90%E6%A0%87%E8%BD%B4%E9%97%B4%E9%9A%94%3Fx%3D%5B20%2C22%2C24%2C26%2C28%2C30%2C32%2C34%2C36%2C38%2C40%2C42%2C44%5D%3By%3D%5B62.9%2C68.8%2C71.2%2C82.5%2C84.1%2C88.6%2C88.4%2C88.4%2C88.0%2C88.0%2C88.0%2C88.0%2C88.0%5D%3Bplot%28x%2Cy%2C%27-r%2A%27%29%3Bxlabel%28%27Number+of+Gabor+features%27%29%3Bylabel%28%27classification+recognition+rate+%28%25%29%27%29%3Blegend%28)
如何改变MATLAB坐标轴间隔?x=[20,22,24,26,28,30,32,34,36,38,40,42,44];y=[62.9,68.8,71.2,82.5,84.1,88.6,88.4,88.4,88.0,88.0,88.0,88.0,88.0];plot(x,y,'-r*');xlabel('Number of Gabor features');ylabel('classification recognition rate (%)');legend(
如何改变MATLAB坐标轴间隔?
x=[20,22,24,26,28,30,32,34,36,38,40,42,44];
y=[62.9,68.8,71.2,82.5,84.1,88.6,88.4,88.4,88.0,88.0,88.0,88.0,88.0];
plot(x,y,'-r*');
xlabel('Number of Gabor features');
ylabel('classification recognition rate (%)');
legend('pain vs.non-pain');
xlim([20,45]);
ylim([60,90]);
X轴的间隔为5,如何改为2呢?
如何改变MATLAB坐标轴间隔?x=[20,22,24,26,28,30,32,34,36,38,40,42,44];y=[62.9,68.8,71.2,82.5,84.1,88.6,88.4,88.4,88.0,88.0,88.0,88.0,88.0];plot(x,y,'-r*');xlabel('Number of Gabor features');ylabel('classification recognition rate (%)');legend(
set(gca,'XTick',[20:5:45])
set (gca,'xtick',[20:2:45]);