set terminal png set output "fig_sample_BC1.png" # set title "Test of bar chart (color test)" set key outside bottom set xrange [0:6] set style fill solid border -1 set boxwidth 0.75 # plot \ "inpBARCHART.txt" using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20+$21) with boxes title "C01", \ "inpBARCHART.txt" using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19+$20) with boxes title "C02", \ "inpBARCHART.txt" using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18+$19) with boxes title "C03", \ "inpBARCHART.txt" using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17+$18) with boxes title "C04", \ "inpBARCHART.txt" using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16+$17) with boxes title "C05", \ "inpBARCHART.txt" using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15+$16) with boxes title "C06", \ "inpBARCHART.txt" using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14+$15) with boxes title "C07", \ "inpBARCHART.txt" using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13+$14) with boxes title "C08", \ "inpBARCHART.txt" using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12+$13) with boxes title "C09", \ "inpBARCHART.txt" using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11+$12) with boxes title "C10", \ "inpBARCHART.txt" using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10+$11) with boxes title "C11", \ "inpBARCHART.txt" using 1:($2+$3+$4+$5+$6+$7+$8+$9+$10) with boxes title "C12", \ "inpBARCHART.txt" using 1:($2+$3+$4+$5+$6+$7+$8+$9) with boxes title "C13", \ "inpBARCHART.txt" using 1:($2+$3+$4+$5+$6+$7+$8) with boxes title "C14", \ "inpBARCHART.txt" using 1:($2+$3+$4+$5+$6+$7) with boxes title "C15", \ "inpBARCHART.txt" using 1:($2+$3+$4+$5+$6) with boxes title "C16", \ "inpBARCHART.txt" using 1:($2+$3+$4+$5) with boxes title "C17", \ "inpBARCHART.txt" using 1:($2+$3+$4) with boxes title "C18", \ "inpBARCHART.txt" using 1:($2+$3) with boxes title "C19", \ "inpBARCHART.txt" using 1:($2) with boxes title "C20" # reset set terminal png set output "fig_sample_BC2.png" # set title "Test of bar chart (pattern test)" set key outside bottom set xrange [0:6] set style fill pattern border set boxwidth 0.75 # plot \ "inpBARCHART.txt" using 1:($2+$3+$4+$5+$6+$7+$8+$9) with boxes linetype -1 title "P00", \ "inpBARCHART.txt" using 1:($2+$3+$4+$5+$6+$7+$8) with boxes linetype -1 title "P01", \ "inpBARCHART.txt" using 1:($2+$3+$4+$5+$6+$7) with boxes linetype -1 title "P02", \ "inpBARCHART.txt" using 1:($2+$3+$4+$5+$6) with boxes linetype -1 title "P03", \ "inpBARCHART.txt" using 1:($2+$3+$4+$5) with boxes linetype -1 title "P04", \ "inpBARCHART.txt" using 1:($2+$3+$4) with boxes linetype -1 title "P05", \ "inpBARCHART.txt" using 1:($2+$3) with boxes linetype -1 title "P06", \ "inpBARCHART.txt" using 1:($2) with boxes linetype -1 title "P07" #