Color repetition when using boxes in gnuplot -
my data file has 2 columns.the following mwe on columns produces boxes repeated colors. possible produce unique colors each box?
reset set term postscript eps size 5.5,4.5 enhanced color solid lw 2\ font "arial,28" set key right set xtics rotate -45 font ",20" set style fill solid 1 border -1 plot 'rankdefcount.dat' using ($0):2:($0):xticlabels(1) \ notitle w boxes lc variable quit
here output got:
you may try , redefine linetypes boxes want show. code should go before plot.
colors="black red orange #fa8072 ...." #[as colors needed] [l=1:words(colors)]{ set linetype l lc rgb word(colors,l) }
you can find colors gnuplot here.
http://www.uni-hamburg.de/wiss/fb/15/sustainability/schneider/gnuplot/colors.htm
Comments
Post a Comment