Printing multiple subplots to PostScript

조회 수: 2 (최근 30일)
CP
CP 2013년 1월 11일
I'm trying to print 40 subplots in one PostScript (-dpsc2) figure in matlab. It's not going very well. The 40 plots are just line plots that are vertically positioned one over the other. When I try to print them, they appear as just straight lines (which I know they aren't). If I try to print only some of the subplots this works fine.
My guess is that there isn't enough space in the figure to print them all and it's causing errors. To that end I tried using the -r and 'PaperSize' options to increase the space, but it doesn't seem to be doing much. Any help would be appreciated.
Notes: I'm running matlab in -nodisplay mode, and outputting this stuff to a file directly.
  댓글 수: 2
Jan
Jan 2013년 1월 11일
Please post the command used for creating the file.
CP
CP 2013년 1월 11일
print(h,'-dpsc2','-loose','-r600','figure1.ps');
However, I tried a variety of commands including not using -r, -loose, etc
Also tried stuff like this:
set(h,'PaperPositionMode','auto','PaperSize',[50 50])
etc.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Subplots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by