1. 程式人生 > >matlab中座標間隔和數字顯示更改

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','location','northwest');
xlim([20, 45]);
ylim([60, 90]);