小编RAV*_*507的帖子

使用gnuplot生成饼图

我有一个包含以下数据的CSV文件:

name,age
raju,23
anju,34
manju,56
sanju,56
Run Code Online (Sandbox Code Playgroud)

我正在尝试使用gnuplot生成饼图.这是我正在执行的命令:

#!/usr/bin/gnuplot -persist
reset
set terminal wxt
unset key
set datafile separator ","
set xlabel "USERS"
set ylabel "AGE"

plot 'file.csv' using ($0):2:($0):xticlabels(1) with circles lc variable notitle
Run Code Online (Sandbox Code Playgroud)

我究竟做错了什么?

gnuplot

8
推荐指数
1
解决办法
8491
查看次数

标签 统计

gnuplot ×1