Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #3235
| Newsgroups | comp.graphics.apps.gnuplot |
|---|---|
| Date | 2016-02-15 09:10 -0800 |
| Message-ID | <65879cc4-a1af-4e93-9850-a2d045a8ee89@googlegroups.com> (permalink) |
| Subject | Obtain data points of a line from gnuplot |
| From | jamie.unix@gmail.com |
Hi all, I have been stumped with this for quite a while now. I remember that I could do this with gnuplot, but have been struggling to find the correct documentation. Consider I have a data file with a few x and y coordinates, lets say 0 0 10 10 20 20 30 30 and if I call gnuplot to plot this file as follows: plot 'input.txt' using 1:2 with l ls 1 The generated graph is a straight line with a certain slope. Is it possible to obtain the coordinates of the line as shown in gnuplot's output, with a certain resolution? For example, the expected result would be something like 0 0 1 1 2 2 3 3 ... and so forth. Appreciate your help. Jamie.
Back to comp.graphics.apps.gnuplot | Previous | Next — Next in thread | Find similar
Obtain data points of a line from gnuplot jamie.unix@gmail.com - 2016-02-15 09:10 -0800 Re: Obtain data points of a line from gnuplot Jörg Buchholz <bookwood4news@freenet.de> - 2016-02-15 20:00 +0100 Re: Obtain data points of a line from gnuplot Ethan A Merritt <EAMerritt@gmail.com> - 2016-02-15 21:56 -0800
csiph-web