I was wondering if there are any ways/examples that show how to plot
together a column-stacked histogram and a line plot. If a histogram is
simple a bar chart, then I can easily draw both plots together.
However, if not, it seems I have to plot them with 'multiplot' in order
to have them in a single plot. I tried to use 'multiplot', but it was
painful since I have to tweak the size of each plot to ensure both plots
have the same boundaries. I'd appreciate any advices to address this
problem. Thank you.
Plot the line plot first, and make it explicitly "with lines".
set style data histogram
set style histogram columns
plot foo(x) with lines, 'histogram.dat' using 1, '' using 2, '' using 3
Thank you! It works perfectly. :)