简体   繁体   English

在Linux OS中更新时自动刷新打开的图形(例如在Image Magick上显示)

[英]Autorefresh opened figure when updated in Linux OS (e.g. displayed on Image Magick)

When plotting figures (eg python), without showing them within the program (ie not using show()), is it possible to keep the figure displayed (X11) and automatically updated when modified in Linux? 在绘制图形(例如python)时,如果不在程序中显示它们(即不使用show()),是否可以保持图形显示(X11)并在Linux中修改后自动更新? Having this function saves a lot of time from reopening the figure. 具有此功能可节省重新打开图形的大量时间。

Use display -update 1 file.jpg on ImageMagick's display, and it will check for updates once per second. 在ImageMagick的显示器上使用display -update 1 file.jpg ,它将每秒检查一次更新。

qiv (another Linux image visualizer) checks the file for updates without the 1 second delay, when run with qiv -T file.jpg 当使用qiv -T file.jpg运行时, qiv -T file.jpg (另一个Linux图像可视化工具)检查文件更新而不会延迟1秒。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM