Tips (Utility, Computer Language, and etc.)
[gnuplot] histogram 그리기
Struggler J.
2019. 1. 22. 09:14
http://gnuplot.sourceforge.net/demo/histograms.html
set key invert reverse Left outside set ylab "" unset ytics set grid y set style data histograms set style histogram rowstacked set style fill solid border -1 set boxwidth 0.75 plot 'data.d' u 2:xtic(1) t 'type1', '' u 3:xtic(1) t 'type2'
이렇게 하면 x축에는 알아서 첫 번째 col의 값으로 나옴.