How do configure gnu plot such that datapoint values shows up on a graph?

How do configure gnu plot such that datapoint values shows up on a graph?

Post by Giulio Bot » Tue, 05 Oct 2004 21:35:16


I'm not sure this is what you want, but with versions of gnuplot recent
enought (for sure with the CVS version) you can do

plot "filename" with labels, "" with lp

notice however, that the placement of values is far from optimal and
generally requires some extra tunig (that you can do using "using" :-).

G.

On Sun, 03 Oct 2004 01:31:46 GMT
 
 
 

How do configure gnu plot such that datapoint values shows up on a graph?

Post by merrit » Wed, 06 Oct 2004 01:29:26

In article < XXXX@XXXXX.COM >,


Far from optimal? You have your choice of left/right/center justification,
and arbitrary offset from the point coordinates. What else do you need?
For example:

plot "foo" with labels point pt 0 offset 0, 3.0 center

should get you labels centered 3 units above the point position.

--
Ethan A Merritt

 
 
 

How do configure gnu plot such that datapoint values shows up on a graph?

Post by Giulio Bot » Wed, 06 Oct 2004 01:50:14

On Mon, 4 Oct 2004 09:29:26 -0700 (PDT)



Sorry Ethan, bad choice of words due to my poor English. This feature
is fantastic! Extremely useful and extremely well written. I can't ask
for more. I simply meant that, sometimes, you have to do your own work.
But this is unavoidable (at least until machines will be able to read
our minds). Anyway, I wasn't aware of all these options (maybe I tend to
rely too much on gawk scripting and "using" option). You know, gnuplot
is so rapidly improving with the constant addition of such a great
number of new interesting features that for us, poor users, it is
difficult to remain up-to-date :-)

Many many thanks!

G.