I use Gnuplot for plotting a histogram-like graph. In my graph one column, e.g. column 6 should get another color like the other columns. This means that I want to change the color only for one (or two) columns, all other colums should have the same color Is this possible by using one input file like below? If I use for the seperate column an separate input data file, this works, but I would like to know if it possible by using only one input file.
Thanks for your help
Christian
Here are informations, how I actually plot the graph:
The data from my input file (Testdatei_Ergebnisse.csv) is as follows:
1 4
2 10
3 7
4 8
5 2
6 8
7 2
8 1
9 0
I plot this with this settings (Gnuplot 4.2.5):
...
set boxwidth 0.8 relative
set style fill solid 1.0
plot "Testdatei_Ergebnisse.csv" using 1:2 with boxes linecolor rgb "blue" title "Frequency"
...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
All,
I use Gnuplot for plotting a histogram-like graph. In my graph one column, e.g. column 6 should get another color like the other columns. This means that I want to change the color only for one (or two) columns, all other colums should have the same color Is this possible by using one input file like below? If I use for the seperate column an separate input data file, this works, but I would like to know if it possible by using only one input file.
Thanks for your help
Christian
Here are informations, how I actually plot the graph:
The data from my input file (Testdatei_Ergebnisse.csv) is as follows:
1 4
2 10
3 7
4 8
5 2
6 8
7 2
8 1
9 0
I plot this with this settings (Gnuplot 4.2.5):
...
set boxwidth 0.8 relative
set style fill solid 1.0
plot "Testdatei_Ergebnisse.csv" using 1:2 with boxes linecolor rgb "blue" title "Frequency"
...