Matlab中的小eps图形尺寸

发布于 2024-09-02 07:25:30 字数 333 浏览 4 评论 0原文

如何从 Matlab 图形创建小 eps 文件?我使用 LaTeX,通过 Matlab (R2010a) 得到的 eps 大小约为 6 MB。如何设置绘图选项以给出较小尺寸的 eps 图形?

渲染选项画家或 zbuffer 有帮助吗?

非常感谢...

一个附加信息:我使用 Laprint 生成我的 eps 数据。所以,我最终得到了 2 个文件:1 个 tex 文件,其中包含有关标签等的信息,以及 1 个 eps 文件,仅用于绘图本身。我使用 Laprint 因为我可以在标签中编写数学表达式,并且通过 LaTeX 中的简单命令,我可以轻松更改字体的大小。我还可以在标签中使用默认的 LaTeX 字体。

How to create a small eps file from a Matlab figure? I use LaTeX and the eps that I'm getting with Matlab (R2010a) is of the order 6 MB. How to set the plot options to give an eps figure of smaller size?

Does the render options painters or zbuffer help?

Thanks a lot...

One additional info: I use Laprint to generate my eps figures. So, I end up with 2 files: 1 tex file with information about the labels etc and one eps file which is just for the drawing itself. I use Laprint as I can write mathematical expressions in my labels and with a simple command in LaTeX, I can change the size of the fonts easily. Also I can have the default LaTeX fonts in the labels.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

铁憨憨 2024-09-09 07:25:30

不要使用 eps。请改用 pdf 格式,并使用 pdflatex 编译 LaTeX 文件。

Don't use eps. Use pdf format instead, and compile your LaTeX file with pdflatex.

眼泪也成诗 2024-09-09 07:25:30

渲染选项画家或 zbuffer 有帮助吗?

这是否意味着您正在使用 OpenGL?如果是这样,那么您将得到一个包含图像的 Postscript 文件。 Postscript 是矢量图像的不错选择,但 OpenGL 无法生成矢量图像。如果您确实需要 OpenGL 渲染器来完成某些任务,那么您不妨使用位图图像格式。如果您确实想利用 EPS(或任何其他 Postscript 风格),那么您将需要使用 Painters。

Does the render options painters or zbuffer help?

Does that mean that you're using OpenGL? If so, then what you're getting is a Postscript file which contains an image. Postscript is a good choice for vector images, but OpenGL can't generate vector images. If you really need the OpenGL renderer for something, then you might as well use a bitmap image format. If you really want to take advantage of EPS (or any other Postscript flavor), then you'll want to use Painters.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文