Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #3236
| From | Jörg Buchholz <bookwood4news@freenet.de> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Obtain data points of a line from gnuplot |
| Date | 2016-02-15 20:00 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <n9t73d$tn4$1@dont-email.me> (permalink) |
| References | <65879cc4-a1af-4e93-9850-a2d045a8ee89@googlegroups.com> |
On 15.02.2016 18:10, jamie.unix@gmail.com wrote: > 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. plot 'input.txt' u ($1/10):($2/10) w l ls 1 Jörg
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | 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