答案 0 :(得分:3)
如何利用subplot
?
subplot(10,1,1:7); %Taking most of the figure space for actual plot
plot(randperm(100),'d-'); %A random plot
xlabel('xlabel'); ylabel('ylabel'); %Axis Labels
legend show; %Legend display
subplot(10,1,10); %And just one part for the text/messages
xlim([1 10]); %For aesthetics
str = {'Comment-1','Comment-2'}; %Text that we want to display
text(1,1,str); %Putting the text
axis off; %Turning off the axis