Plot a big figure with many subfigures in matlab

后端 未结 1 569
旧时难觅i
旧时难觅i 2021-01-25 07:00

I have to print a large poster, containing a matrix of figures, and it would be very practical for me to let MATLAB arrange them. Unluckily, subplots are displayed to fit a cert

1条回答
  •  不思量自难忘°
    2021-01-25 07:41

    %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 Plot on A0 everything looks fine. Your screen might be too small, but it fits on a A0 sheet.

    0 讨论(0)
提交回复
热议问题