本文介绍了如何将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)?
推荐答案
参见 图形属性的 matlab 文档.
即:
PaperSize
- 明确定义画布的大小.PaperType
- 将PaperSize
设置为几种标准纸张尺寸之一.
PaperSize
- Explicitly defines the size of the canvas.PaperType
- SetsPaperSize
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中的绘图设置为特定大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!