本文介绍了使用 R 将图形导出到 .eps 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

如何将图形导出为 .eps 格式文件?我通常将我的图形导出为 .pdf 文件(使用pdf"函数),并且效果很好.但是,现在我必须导出到 .eps 文件.

How do I export a graph to an .eps format file? I typically export my graphs to a .pdf file (using the 'pdf' function), and it works quite well. However, now I have to export to .eps files.

推荐答案

我发现创建 postscript 的最简单方法如下,使用 setEPS() 命令:

The easiest way I've found to create postscripts is the following, using the setEPS() command:

setEPS()
postscript("whatever.eps")
plot(rnorm(100), main="Hey Some Data")
dev.off()

这篇关于使用 R 将图形导出到 .eps 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-08 11:03