How to set the plot in matlab to a specific size?

前端 未结 4 789
小蘑菇
小蘑菇 2020-12-01 13:46

Generally, I wish to plot a rather complex x-y plot (lots of overlapping curves) to an A3 format so:

A4 210x297  
A3 = A4*2 = 420 x 297  
... - 10mm each sid         


        
4条回答
  •  难免孤独
    2020-12-01 13:59

    See the matlab documentation for figure properties.

    Namely:

    • PaperSize - Explicitly defines the size of the canvas.
    • PaperType - Sets PaperSize to one of several standard paper sizes.

    The built in plot tool lets you save figures as all sorts of image formats so you should be good to go. Fiddling with the above settings should get your figure to be the correct size for printing.

    Happy plotting!

提交回复
热议问题