我正在用八度音绘制轮廓,并使用命令saveas(gcf,'rainzam.pdf')我得到输出正常,但我只是想知道为什么我得到以下警告:
warning: print.m: epstool binary is not available.
Some output formats are not available.
warning: print.m: fig2dev binary is not available.
Some output formats are not available.
Run Code Online (Sandbox Code Playgroud)
这并不严重,但如果有办法让它们消失,我将不胜感激.
正如解释在这里,您需要安装epstool和fig2dev它的一部分XFIG.
根据您的系统,可能有可用的包.
例如openSUSE,只发出cnf epstool哪个收益率
Try installing with:
sudo zypper install epstool
Run Code Online (Sandbox Code Playgroud)
如果cnf epstool仍然收益epstool: command not found,那么您需要订阅Publishing回购.最简单的方法是使用一键安装.
同样,sudo zypper install transfig得到fig2dev.
或者,您可以禁用警告:
warning("off", "print.m: epstool binary is not available")
warning("off", "print.m: fig2dev binary is not available")
Run Code Online (Sandbox Code Playgroud)
但那时的功能epstool和fig2dev将无法使用.