我是HPC系统的用户。现在,我想在我的目录/home/username下安装一个新版本的gnuplot。我成功地安装了,但是现在默认的终端类型是qt。现在我想将它更改为x11。命令set terminal x11无法工作,错误消息如下:
预期的/home/app/gnuplot-5.0.6/libexec/gnuplot/5.0/gnuplot_x11驱动程序: X11 Exec失败:没有这样的文件或目录-请参阅“帮助x11”以获得更多详细信息
这很奇怪,因为我在
/home/username/app/gnuplot-5.0.6/
中有一个gnuplot_x11
/home/username/app/gnuplot-5.0.6/libexec/gnuplot/5.0/gnuplot_x11
有没有一种方法可以告诉gnuplot它在错误的路径上搜索?是否有一种方法将x11终端设置为默认终端?
非常感谢!
更新:
我可以设置--with-qt=no,现在默认设置为wxt。现在我可以使用set terminal x11:
gnuplot> set terminal x11
Terminal type set to 'x11'
Options are ' nopersist enhanced'我不太明白为什么。
发布于 2017-06-02 18:42:18
您可以通过设置gnuplot_x11环境变量来更改gnuplot查找GNUPLOT_DRIVER_DIR驱动程序的目录。来自help x11
在编译程序时,将在默认位置搜索gnuplot驱动程序gnuplot_x11。您可以通过定义环境变量GNUPLOT_DRIVER_DIR来指向不同的位置来覆盖这一点。
https://stackoverflow.com/questions/44332674
复制相似问题