Back to demo index

gnuplot demo script: histerror.dem

autogenerated by webify.pl on Sat Mar 11 15:38:43 2023
gnuplot version gnuplot 5.4 patchlevel 7alpha
#
# Histogram with error bars
#
set style data histogram
set key auto column
set yrange [0:*] noextend
set tics nomirror
set border 3
set offset 0,0,2,0
set bmargin 5

set title "Histogram with error bars"
set style fill solid border -1
set style histogram errorbars lw 2
set datafile columnhead separator tab

plot 'histerror.dat' using 2:3 fs solid 0.5 lw 2 ti 'A', \
     '' using 4:5:xticlabel(1) fs solid 0.0 lw 2 ti 'B'

set datafile nocolumnhead

Click here for minimal script to generate this plot




unset datafile