gnuplot绘图备份

# 格式确定信息
# put fig file, $2 input data file, $3 x-axis specs, $4 y-axis specs, $5 plot line specs, $6 key specs (optional)

# X-Axis Specs: column, label, x_tics (colon-separated or 'usecol' or 'none'), x_tics_column, logscale, format (x_tics_column, logscale and format should be '' when unused)
# Y-Axis Specs: column, label, logscale, format (logscale and format should be '' when unused)
# Line Specs: label, colour, point types (colour and point types should be ommitted when unused)
# Key Specs: position, orientation, width (no omission alowed)



plot_lines="INE;blue;6,Gtree;red;8,ROAD;dark-green;3,PHL;dark-magenta;12,DisBrw;dark-red;4"
figure_file="index_size_vs_nodes"
bash generateFigure 'test11111.test' 'lzy-test/index_stats_vs_nodes.txt' "2,Number of Vertices,none,'',logscale,'10^%T'" "7,Index Size (MB),logscale,'10^%T'" "INE;blue;6,Gtree;red;8,ROAD;dark-green;3,PHL;dark-magenta;12,DisBrw;dark-red;4" "left top,horizontal maxcols 2,-2"


# 最后自己的输入
bash generateFigure 'test11111.test' 'index_stats_vs_nodes.txt' "2,Number of Vertices,none,'',logscale,'10^%T'" "7,Index Size (MB),logscale,'10^%T'" "INE;blue;6,Gtree;red;8,ROAD;dark-green;3,PHL;dark-magenta;12,DisBrw;dark-red;4" "left top,horizontal maxcols 2,-2"

颜色

blue,red,dark-green,dark-magenta(紫色),dark-red

操作

set logscale x/y :让x/y轴变为对数表示法
set format x/y 10^%T:配合对数使用

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值