当我尝试通过cygwin启动gnuplot时出现错误(见下文):Gnuplot似乎不知道wxt术语,但根据此页面(https://cygwin.com/pipermail/cygwin-announce/2020 -July / 009620.html),gnuplot应该能够知道它。
在此之后,我可以手动使用gnuplot,例如输入注释,它可以正常工作。但是通常a具有自动绘图程序,该错误会导致程序崩溃,因此我无法正常使用它。
有什么办法可以迫使gnuplot忽略该错误?还是可以直接从某个终端(例如png)启动gnuplot?
谢谢桑德拉
$ gnuplot
G N U P L O T
Version 5.4 patchlevel 0 last modified 2020-07-13
Copyright (C) 1986-1993, 1998, 2004, 2007-2020
Thomas Williams, Colin Kelley and many others
gnuplot home: http://www.gnuplot.info
faq, bugs, etc: type "help FAQ"
immediate help: type "help" (plot window: hit 'h')
Terminal type is now 'unknown'
set term wxt
^
unknown or ambiguous terminal type; type just 'set terminal' for a list
WARNING: Error during initialization
gnuplot>```
未经测试,但我怀疑您需要使用gnuplot-wx软件包,因为有几个gnuplot软件包:
gnuplot-base A command-line driven interactive function plotting utility
gnuplot-doc A command-line driven interactive function plotting utility
gnuplot-qt5 A command-line driven interactive function plotting utility
gnuplot-wx A command-line driven interactive function plotting utility
gnuplot-X11 A command-line driven interactive function plotting utility
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句