Talk About Network

Google





Graphics > Gnuplot interactive function plotter > plotting word p...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 3489 of 3655
Post > Topic >>

plotting word positions

by "pgaleas@[EMAIL PROTECTED] " <pgaleas@[EMAIL PROTECTED] > Sep 1, 2008 at 01:48 PM

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
 




 1 Posts in Topic:
plotting word positions
"pgaleas@[EMAIL PROT  2008-09-01 13:48:26 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 1:40:55 PST 2009.