如何在gnuplot中更改点大小 [英] How to change dot size in gnuplot
本文介绍了如何在gnuplot中更改点大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在gnuplot中更改点的大小,形状和颜色.
How to change point size and shape and color in gnuplot.
plot "./points.dat" using 1:2 title with dots
我正在使用上述命令来绘制图形,但是它显示了很小的尺寸点.
I am using above command to plot graph ,but it shows very small size points.
我尝试使用命令
set pointsize 20
但点数仍然相同.
推荐答案
使用pointtype
和 pointsize
选项,例如
Use the pointtype
and pointsize
options, e.g.
plot "./points.dat" using 1:2 pt 7 ps 10
其中pt 7
为您提供一个实心圆,而ps 10
为大小.
where pt 7
gives you a filled circle and ps 10
is the size.
请参阅:绘制数据.
这篇关于如何在gnuplot中更改点大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文