在后台以八度为单位打印图
问题描述:
当前,我使用print -dpng foo.png
在Ubuntu的Octave 3.0.1中将图打印到文件中.
Currently, I use print -dpng foo.png
to print a plot to file in Octave 3.0.1 on Ubuntu.
有时候,我会循环生成数千张图像.
Sometimes, I generate thousands of images in a loop.
每当弹出新图像时,它都会抓住鼠标控件,使我无法进行多任务处理.
Whenever a new image pops up, it grabs the mouse control precluding me from multitasking.
反正有无声打印吗?
答
使用有关您正在做的事情的更多信息来回答您的问题会更容易.但是稍作猜测,也许这就是您所需要的:
It would be easier to answer your question with a little more information about what you are doing. But with a little guessing maybe this is what you need:
f = figure
set(f, "visible", "off")
plot([1,2,3,4])
print("MyPNG.png", "-dpng")