问题描述
一旦我在Ubuntu上编辑并运行了gnuplot脚本,并且打开了.eps图,我可以看到新图已更新.但是,在Mac OSx上,我必须关闭并打开文件,才能查看更新的图形.运行编辑的脚本后如何查看更新的数字?
Once I edit and run my gnuplot scripts on Ubuntu and I have my .eps figure open, I can see the new figure updated. However, on Mac OSx I have to close and open the file, to see the updated figure. How to see the updated figures once I run the edited script?
推荐答案
在Mac上,问题是Preview在显示之前将.eps转换为.pdf,并且此过程妨碍了Preview查看文件.
On Mac the problem is that Preview converts .eps to .pdf before displaying, and this process gets in the way of Preview watching the file.
我喜欢使用Skim工具查看由gnuplot或乳胶生成的.eps.如果要关注文件,它将在第一次更改文件时提示您.
I like the Skim tool for viewing .eps that I generate with gnuplot or latex. It will prompt you the first time the file changes if you want to follow it.
另一种解决方法(在Mac上不是理想的解决方法)是在gv
中打开文件,然后选择选项状态>监视文件.
Another (less than ideal on Mac) workaround is to open the file in gv
, and select the option State > Watch file.
我很想听听OS X中自动执行此操作的工具...
I would love to hear about tools in OS X that do this automatically...
这篇关于如何让Gnuplot在Mac上自动更新.eps数字?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!