我有以下代碼:軸標籤是不可見的?
figure(1);
suptitle('Percentage of games won with board size');
count = 0;
% relation of board size and the game outcome
for i = 1:4 % number combination of player and opponent
for j = 1:4 % starting indexes for board sizes
percentageStepResult = [sum(sizeResultVec{i}(j:4:120) == 1), sum(sizeResultVec{i}(j:4:120) == -1), sum(sizeResultVec{i}(j:4:120) == 0)];
count = count + 1;
handle = subplot(4, 4, count);
xlabel('x axis');
ylabel('y axis');
pie(percentageStepResult)
end
end
產生以下情節:
爲什麼沒有這顯示在所有的標籤?我試圖讓整個情節有一個xlabel和一個ylabel,但我很困惑,爲什麼他們甚至不會顯示個別的小情節。
使用'text'影響軸標籤。 – AnonSubmitter85 2014-12-03 02:04:11