How do I eliminate the space between the subplots?My MatLab program is as follows:
Afficher commentaires plus anciens
A=xlsread('time series Jan_Feb.xls','sheet1'); C=xlsread('time series JJAS.xls','sheet1');
x=A(:,1);
yj1=A(:,2); yj2=A(:,3); yj3=A(:,4); yj4=A(:,5); yj5=A(:,6); yj6=A(:,7); yj7=A(:,8); yj8=A(:,9); yj9=A(:,10); yj10=A(:,11); yj11=A(:,12); yj12=A(:,13); yj13=A(:,14); yj14=A(:,15); yj15=A(:,16); yj16=A(:,17); yj17=A(:,18);
ya1=C(:,2); ya2=C(:,3); ya3=C(:,4); ya4=C(:,5); ya5=C(:,6); ya6=C(:,7); ya7=C(:,8); ya8=C(:,9); ya9=C(:,10); ya10=C(:,11); ya11=C(:,12); ya12=C(:,13); ya13=C(:,14); ya14=C(:,15); ya15=C(:,16); ya16=C(:,17); ya17=C(:,18);
m1=mean(A); sd1=std(A); m3=mean(C); sd3=std(C);
g1=mean(yj1); subplot(2,2,1) plot(x,yj1);set(gca,'FontSize',11,'FontWeight','bold') plottools xlim([1949 2013]) ylabel('Temperature (deg.Cel.)','FontWeight','bold','FontSize',11) xlabel('Season (Jan-Feb)','FontWeight','bold','FontSize',11)
g3=mean(ya1); subplot(2,2,3) plot(x,ya1,'linewidth',1);set(gca,'FontSize',11,'FontWeight','bold') xlim([1949 2013]) ylabel('Temperature (deg.Cel.)','FontWeight','bold','FontSize',11) xlabel('Season (JJAS)','FontWeight','bold','FontSize',11)
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Image Transforms dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!