Plot of a large figure with many sub-figures in Matlab

I need to print a large poster containing a matrix of numbers, and I would be very comfortable for MATLAB to arrange them. Unfortunately, the subheadings are displayed according to the specific size of the figure, so they are tiny and distorted. Instead of adjusting the size of the figure, I would like to adjust the size of the paper of my poster.

I tried with set(gcf,'Position'..) and also changed the document, but I still don't see the expected result.

Is there something I can try to allow MATLAB to use, say, an entire A0 sheet for building?

Here is my current output:

Current output

+1
source share
1 answer
 %just a dummy example r=11; c=4; f=figure() for inx=1:r*c subplot(r,c,inx) bar(randi(10,4,3)) end %print it on A0 set(f,'paperunits','centimeter') set(f,'papersize',[84.1,118.9]) set(f,'paperposition',[0 0 84.1 118.9]); print(f,'example.pdf','-dpdf','-opengl'); 

If I print such a graph on A0, everything will look fine. Your screen may be too small, but it is suitable for sheet A0.

+1
source

Source: https://habr.com/ru/post/1232308/


All Articles