|
From: Giacomo M <jac...@gm...> - 2011-11-21 11:31:23
|
Dear all, I am using newhistogram and I am experiencing the following unwanted behaviours: 1) thin colored lines appear on top of the bars (as if also "0-level" data was represented) 2) key is taller than it should be (as if each newhistogram included their own key entries even though I specified them only for the first one) In particular, I used the commands: set style data histogram set style histogram rowstacked gap 1 set style fill pattern plot newhistogram "N", "data.txt" i "N" u 2:xtic(1) t "wind" fill p 1 lc rgb "#094f7e", "" i "N" u 3:xtic(1) t "photo", "" i "N" u 4:xtic(1) t "coal" fill p 4 lc rgb "#ac0f0c", "" i "N" u 5:xtic(1) t "ccgt" fill p 5 lc rgb "#91a00b", "" i "N" u 6:xtic(1) t "otherfuel",\ newhistogram "CN", "data.txt" i "CN" u 2:xtic(1) notitle fill p 1 lc rgb "#094f7e", "" i "CN" u 3:xtic(1) notitle, "" i "CN" u 4:xtic(1) notitle fill p 4 lc rgb "#ac0f0c", "" i "CN" u 5:xtic(1) notitle fill p 5 lc rgb "#91a00b", "" i "CN" u 6:xtic(1) notitle,\ newhistogram "CS", "data.txt" i "CS" u 2:xtic(1) notitle fill p 1 lc rgb "#094f7e", "" i "CS" u 3:xtic(1) notitle, "" i "CS" u 4:xtic(1) notitle fill p 4 lc rgb "#ac0f0c", "" i "CS" u 5:xtic(1) notitle fill p 5 lc rgb "#91a00b", "" i "CS" u 6:xtic(1) notitle,\ ... and I obtained this: http://db.tt/1xjMh1Ye I'm using gnuplot 4.5 patchlevel 0 (last modified 2011-10-14, system MS-Windows 32 bit) Any help is more than appreciated, thanks, Giacomo M PS: any suggestions on how to clean up the plot command is also very welcome, thanks! |