带有错误栏的Gnuplot条形图直方图 [英] Gnuplot barchart histogram with errorbars

查看:97
本文介绍了带有错误栏的Gnuplot条形图直方图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要基准测试的结果.我将两个虚拟机相互比较 并具有以下格式的数据:

I want to the results of my benchmarks. I compare two virtual machines with each other and have data of the following form:

BENCHMARK VM1_TIME VM1_ERROR VM2_TIME VM2_ERROR

BENCHMARK VM1_TIME VM1_ERROR VM2_TIME VM2_ERROR

我想从该数据生成一个条形图,看起来像这样:

I want to generate a barchart diagram from this data which should look like this:

有人可以提供代码如何执行此操作吗? 我知道这种要求是不受欢迎的,但是我真的很需要这个,并且用谷歌搜索了一些东西 像2个小时一样,却没有令人满意的结果.

Could somebody provide the code how to do this? I know this kind of request is unbeloved, but I really need this and googled for something like 2 hours, without a satisfactoring result.


预先感谢,
斯文


Thanks in advance,
Sven

推荐答案

我曾经遇到过同样的问题. 这是gpl文件中的代码,可以产生所需的结果:

I had the same problem once. Here is the code from the gpl file which should lead to the desired result:


set boxwidth 0.9
set style fill solid 1.00 border 0
set style histogram errorbars gap 2 lw 1
set style data histograms
set xtics rotate by -45
set bars 0.5

如果这对您不起作用,请查看链接到"pastebin.com".

if this does not work for you check out THIS link to "pastebin.com".

最诚挚的问候

这篇关于带有错误栏的Gnuplot条形图直方图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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