I have a data file like this:
"Execution" 500
"Overhead 1" 200
"Overhead 2" 75
I am trying to plot a histogram of this data that shows the Execution time as a single bar graph but Overhead 1 and Overhead 2 as a single stacked bar graph.
This is what I have so far:
set terminal postscript eps 24
set output "wq_time_profile.eps"
set size 0.95,0.95
set boxwidth 1.0 relative
set style fill solid 0.5 noborder
set style data histogram
set style histogram cluster gap 1
set ylabel "Time (mins)"
plot "wq_time_profile.dat" u 1 notitle, "" u 2 notitle, "" u 3 notitle
I can't quite get my head around how to show rows 2 and 3 as a stacked bar graph while showing row 1 as standalone bar graph in the same plot. Is this possible in gnuplot? I am using gnuplot v4.2. Thanks!
EDIT: Modified the title and question to clarify that the plot needs to contain a single standalone bar graph and a stacked bar graph in the same gat the same plot