我正在尝试制作一个三维图,我希望每个点都可以选择颜色/形状/阴影。事实是我想使用here的调色板。
让我们说我的数据是这样的 -
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
和我的gnuplot命令看起来像这样 -
set style fill transparent solid 0.75 noborder
set style circle radius screen 0.01
splot "data.out" with circles linecolor rgb "blue"
我得到了这个情节 -
如您所见,没有圆圈,每个点都是+
。
如何用圆圈画?
答案 0 :(得分:2)
用圆圈绘制你需要的
splot "data.out" linecolor "blue" pointtype 6
要获得圆圈,请尝试输入类型6或7.通过添加选项pointsize 2
(数字是大小值)可以更改圆圈的大小