这个脚本是有效的.但我看不出颜色的变化
plot '_numXY' using 2:3:(sprintf('%d', $1)) \
with labels offset 0,1 point pointtype 6 ps 2 notitle lc rgb "blue"
Run Code Online (Sandbox Code Playgroud)
我看不到蓝色或蓝色.那是黑色的.我想看到蓝色的点线.
lc rgb "blue"不管用?怎么了?
如果绘图样式不立即跟随该选项,lc则忽略这些设置.在你的情况下,你必须只放在最后.labelspointnotitle
plot '_numXY' using 2:3:(sprintf('%d', $1)) \
with labels offset 0,1 point pointtype 6 ps 2 lc rgb "blue" notitle
Run Code Online (Sandbox Code Playgroud)
作为一个示例:
set samples 11
set xrange [0:10]
plot '+' using 1:1:(sprintf('%d', $1)) \
with labels offset 0,1 point pointtype 6 ps 2 lc rgb "blue" notitle
Run Code Online (Sandbox Code Playgroud)
4.6.5的结果是:
