我在gnuplot上使用pointtype命令时遇到问题。我尝试了几种方法,例如:
set pt 5
set pointtype 5
plot " " w pt 5
plot " " w pointtype 5
由于某些原因,似乎没有任何作用。我尝试使用“帮助”功能,显然我的gnuplot版本没有“pt”或“pointtype”作为选项。这可能被列为其他一些功能。我知道有些要点,当我绘制多组数据时,点类型会自动更改,但我对选择点类型没有个人控制权。
非常感谢任何帮助。
答案 0 :(得分:47)
首先,您必须告诉Gnuplot使用使用点的样式,例如with points
或with linespoints
。试试例如:
plot sin(x) with points
输出:
现在尝试:
plot sin(x) with points pointtype 5
输出:
您可能还想查看test
命令的输出,该命令显示当前终端的功能。以下是我的pngairo终端的功能: