|
From: Tait <gnu...@t4...> - 2011-02-15 23:48:40
|
> I am comparing two histograms (red and green) using gnuplot as in here > http://old.nabble.com/file/p30933874/gnufence0.jpg gnufence0.jpg but the > red is partially covered by the green. To avoid this overlapping, a fence > plot as shown in here http://old.nabble.com/file/p30933874/gnufence.jpg > gnufence.jpg is a good solution undoubtedly. Question is how do I do this > in gnuplot? Suggestions would be highly appreciated. Thanks! First, let me answer your question. You can do fence plots by following the approach in http://gnuplot.sourceforge.net/demo_4.4/surface1.html (just below halfway down). However, fence plots are, in my opinion, the wrong solution for your problem. Because of the pseudo-3D perspective, it is almost imposible to directly compare the histograms in your second graph. Does "SF4 7a" or "eSF2 7a" have the higher peak, for example? Instead, may I suggest you use one of: - a clustered histogram second plot, http://gnuplot.sourceforge.net/demo_4.4/histograms.html - a multiplot http://t16web.lanl.gov/Kawano/gnuplot/gallery/pressureSlopes.html - transparency http://gnuplot.sourceforge.net/demo_4.4/transparent.html Any of these would more clearly present the data and comparison you're apparently trying to make. |