Hello!
I'm trying to plot the following data with gnuplot, but I can't obtain
the desired graph format:
# Positions of the word "x" in a set of do***ents
#doc p1 p2 p3 p4 p5 ... pN
doc1 23 23 65 14 37
doc2 13 14 32
doc3 29 33 87 19 32 ... 21
do34 18 56 11 12
Each row describe the position of the word "x" in a do***ent.
I would like to graph this data as points, where the do***ents are
represented in the x-axis, and the corresponding positions in the y-
axis.
Do I need to define N plot-statements?, or is there a compressed form
to plot this data?
plot "docs.dat" using 1:2 title '1st X' with points, \
"docs.dat" using 1:3 title '2nd X' with points, \
"docs.dat" using 1:4 title '3rd X' with points, \
"docs.dat" using 1:5 title '4th X' with points, \
....
"docs.dat" using 1:N title 'Nth X' with points
Thank you for your help
pgaleas


|