Filter löschen
Filter löschen

How to make spaces between graphs in a subplot

1 Ansicht (letzte 30 Tage)
Linden
Linden am 23 Apr. 2014
I am using subplot to plot a number of graphs (see program below). The graphs in the subplot are too close to each other and the title of the graph (on top of each graph) is overlapped with the x axis of the above graph. Is there a way to increase the row space between the graphs? Many thanks in advance.
for i = 1:nvar subplot(8,5,i); plot(cell2mat(nonstnlist(2:end,i))); set(gca,'XLim',[1,obs]); title(nonstnlist(1,i),'interpreter','non'); saveas(gca,'nonstnlist.fig'); end

Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by