这是一个示例数据集.
#x y r c
1 2 10 2
3 1 2 4
3 2 1 5
Run Code Online (Sandbox Code Playgroud)
我可以绘制圆圈的半径代表第3列或用代表第3列的颜色.但是,我不知道如何将它们都保留在情节中.
这是我用代表第3列的半径绘制的代码.
plot 'rslt.log' u 1:2:3 w points pt 7 ps variable
Run Code Online (Sandbox Code Playgroud)
尝试:
plot 'rslt.log' u 1:2:3:4 w points pt 7 ps variable lc palette
Run Code Online (Sandbox Code Playgroud)