いくつかのサブプロットを持つ図があります。印刷時のヘッダーを追加しようとしています。印刷プレビューからこれを行うことができますが、私のコードにはかなりの数値があるため、プログラムに組み込みたいと思います。
figure('numbertitle','off','name','This is my window title',...
'PaperOrientation','landscape','PaperPosition',[0.25,0.25,10.5,7])
subplot(2,2,1)
plot(1:10)
title('Example subplot1')
subplot(2,2,2)
plot(10:20)
title('Example subplot2')
subplot(2,2,3)
plot(20:30)
title('Example subplot3')
subplot(2,2,4)
plot(30:40)
title('Example subplot4')
私はこれを見つけましたが、うまくいかないようで、そこで何が起こっているのか完全に理解していません. どんな助けでも大歓迎です。