如何在gnuplot中更改点的大小、形状和颜色。
plot "./points.dat" using 1:2 title with dots
我正在使用上述命令来绘制图形,但是它显示非常小的点。
我尝试使用以下命令
set pointsize 20
但字号仍然相同。
如何在gnuplot中更改点的大小、形状和颜色。
plot "./points.dat" using 1:2 title with dots
我正在使用上述命令来绘制图形,但是它显示非常小的点。
我尝试使用以下命令
set pointsize 20
但字号仍然相同。
pointsize command 命令可以修改点的大小,但无法影响圆点的大小。
换言之,plot ... with points ps 2
将生成比正常大小大一倍的点,而对于 plot ... with dots ps 2
,"ps 2
" 部分将被忽略。
您可以使用圆形点 (pt 7
),它看起来就像圆点。
使用 dt 2 lw 4 标题为标题的 "./points.dat" 中的 1:2 绘制图表
ps
没有效果。例如,pt "X" ps 10
和pt "X" ps 100
绘制相同大小的点。 - builder-7000