I need some help on processing a CSV file with gnuplot. My CSV file looks like:
a,1002
b,612
b,893
b,361
b,932
b,483
b,899
b,614
c,722
d,1038
d,1580
I want it to use the 2nd column for Y value, the line number as X value. This is done easily.
I managed to put the first column as xtics label, but after hours of Google-ing, I did not find a solution to tell gnuplot to only print a label only once (my x axis was crowded with labels, making it unreadable).
I need something like:
.
. b
.a ***** c
.** *** d ****
. ************
........................
But I'm getting this:
.
.
. *****
.** *** ****
. ************
........................
sdflksdjflksdjflksdjflkadjflksjdflkasj
Labels will be okay on the axis or on the graph line too, it doesn't matter.