Created
November 14, 2012 12:02
-
-
Save bartku/4071753 to your computer and use it in GitHub Desktop.
GNUPlot script for WoT efficiency
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# shows efficiency with max and min | |
# data in format: | |
# a,b,c | |
set term svg enhanced mouse size 900,600 | |
set output "eff-2012-11-14.svg" | |
set title "Efficiency" | |
set ylabel "Eff" | |
#set yrange [1190:*] | |
set style data line | |
set offset 0,0,.5,.5 | |
set datafile separator "," | |
stats "wot-stats.csv" using 1 name "A" | |
set yrange [A_min-10:A_max+10] | |
set arrow 1 from A_index_min, graph 0.1 to A_index_min, A_min fill | |
set arrow 2 from A_index_max, graph 0.9 to A_index_max, A_max fill | |
set label 1 at A_index_min, graph 0.1 sprintf("min - %d", A_min) center offset 0,-1 | |
set label 2 at A_index_max, graph 0.9 sprintf("max - %d", A_max) center offset 0,1 | |
plot "wot-stats.csv" using 1 title " Data" lw 2, A_mean title " Mean" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment