gnuplot的Pointtype命令

use*_*813 20 types gnuplot point pt

我在gnuplot上使用pointtype命令时遇到了麻烦.我尝试了几种方法,例如:

set pt 5
set pointtype 5
plot " " w pt 5
plot " " w pointtype 5
Run Code Online (Sandbox Code Playgroud)

由于某些原因,似乎没有任何作用.我尝试使用"帮助"功能,显然我的gnuplot版本没有"pt"或"pointtype"作为选项.这可能被列为其他一些功能.我知道有些要点,当我绘制多组数据时,点类型会自动更改,但我对选择点类型没有个人控制权.

任何帮助将不胜感激.

Tho*_*hor 49

您首先必须告诉Gnuplot使用使用点的样式,例如with pointswith linespoints.试试例子:

plot sin(x) with points
Run Code Online (Sandbox Code Playgroud)

输出:

现在尝试:

plot sin(x) with points pointtype 5
Run Code Online (Sandbox Code Playgroud)

输出:

您可能还需要查看test命令的输出,该输出显示当前终端的功能.以下是我的pngairo终端的功能: