如何在Matlab中将图设置为特定大小? [英] How to set the plot in matlab to a specific size?

查看:693
本文介绍了如何在Matlab中将图设置为特定大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通常,我希望将相当复杂的x-y图(许多重叠曲线)绘制为A3格式,

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 side = 400 x 277 (size of desired plot window)

设置图的大小以使其适合以PDF(或任何其他常见输出格式)打印时的大小的最简单方法是什么?

What is the easiest way to set the size of the plot so it fits that size when printed in PDF (or any other common output format)?

推荐答案

请参见即:

  • PaperSize-明确定义画布的大小.
  • PaperType-将PaperSize设置为几种标准纸张尺寸之一.
  • 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.

祝您绘图愉快!

这篇关于如何在Matlab中将图设置为特定大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆