GNUPLOT:点图,其数据取决于点大小 [英] GNUPLOT: dot plot with data depending dot size

查看:125
本文介绍了GNUPLOT:点图,其数据取决于点大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试由3个坐标组成的绘图数据集: X坐标,x坐标和出现次数. 例如:

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

我想为每条线在x,y处绘制一个点,该点的直径取决于第三个值.

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

使用Gnuplot可以吗?

Is that possible with Gnuplot?

推荐答案

创建具有可变点大小的2D图.参见演示.

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

示例:

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

这篇关于GNUPLOT:点图,其数据取决于点大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆