|
From: olivier.abz <05...@rg...> - 2010-12-03 14:38:29
|
Well, I actually managed, by setting the terminal to monochrome and using the
following plotting command:
plot './OC.txt' using ($1-0.4):($2) title "BAUS-4" w boxes fs solid 0.3,
'./OC.txt' using ($1):($3) title "BAUS-6" w boxes fs solid 0.7
Olivier.
olivier.abz wrote:
>
> Hi all,
>
> (Apologies if this has been sent twice..)
>
> I am fighting with my script, trying to change the color of my bar charts.
> I am sure it is fairly easy but it seems that I cannot figure it out.
>
> Bellow is my script. It currently displays charts in red and green, while
> I would like them in light grey and dark grey.
>
> Thanks for your help,
>
> Olivier.
>
> myscript:
>
> set terminal postscript landscape "Helvetica" 12
> set output 'OC.eps'
>
> set yrange [0:1]
> set xrange [0:10]
> unset label
>
> set style data boxes
> set boxwidth 0.4
> set style fill solid 1.0 border -1
>
> set xtics ("NB" 1, "TAN" 2, "K2GABN" 3, "LR" 4, "MLP" 5, "RBF" 6, "K-NN"
> 7, "Id3" 8, "SMO" 9)
> set ylabel "AUC"
> set grid
>
> plot './OC.txt' using ($1-0.4):($2) title "BAUS-4", './OC.txt' using
> ($1):($3) title "BAUS-6"
>
>
--
View this message in context: http://old.nabble.com/How-to-change-color-in-bar-chart---tp30361221p30366553.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|