Subplot difference, Matlab 2008 and 2010
古いコメントを表示
I'm running the same piece of matlab code on 2 machines, one with R2008B and the other with R2010a. The code calls for a 3x1 subplot. When I run the code in R2010a all the subplots are much smaller than in 2008B.
Test code is:
x = 1:10; y = 1:10;
figure; clf;
subplot(211); plot(x,y); set(gca, 'XTickLabel', []);
title({'Two Subplots' ; 'Title 2'});
subplot(212); plot(x,y);
xlabel({ 'Xlabel 1' ; 'Xlabel 2'});
figure; clf;
subplot(311); plot(x,y); set(gca, 'XTickLabel', []);
title({'Three Subplots' ; 'Title 2'});
subplot(312); plot(x,y); set(gca, 'XTickLabel', []);
subplot(313); plot(x,y);
xlabel({ 'Xlabel 1' ; 'Xlabel 2'});
Question is - what is the difference between R2008B and R2010A that causes this, and how can I get R2010A to behave like R2008B?
Thanks
採用された回答
その他の回答 (1 件)
カテゴリ
ヘルプ センター および File Exchange で Subplots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!