How can I saveas jpg and get identical sizes in both interactive and headless modes?

2 次查看(过去 30 天)
When I save an image as a jpg fileType, the size is different depending upon whether I run in Interactive or headless mode. How can I make them identical?

回答(1 个)

Scott Lindeneau
Scott Lindeneau 2016-5-11
You should be able to use the PaperPosition properties.
An example is provided here.
  1 个评论
Jim Prewitt
Jim Prewitt 2016-5-11
Scott, I have tried something similar, but that did not work for me. Also, when I attempt to click on the "link" a browser opens with the content as follows: The page you were looking for doesn't exist. You may have mistyped the address or the page may have moved. Thanks, -Jim

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by