GNUPLOT: dot plot with data depending dot size

烂漫一生 提交于 2019-12-22 05:13:58

问题


I am trying plot data sets consisting of 3 coordinates: X-coordinate, x-coordinate and the number of occurrences. example:

1 2 10 
3 1 2
3 2 1

I would like to draw for every line a dot at x,y with a diameter which is depending on the third value.

Is that possible with Gnuplot?


回答1:


Create a 2D plot with variable point size. See the demo.

Example:

plot 'dataFile.dat' u 1:2:3 w points lt 1 pt 10 ps variable


来源:https://stackoverflow.com/questions/2689403/gnuplot-dot-plot-with-data-depending-dot-size

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!