Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3235

Obtain data points of a line from gnuplot

X-Received by 10.182.236.4 with SMTP id uq4mr17412785obc.3.1455556258775; Mon, 15 Feb 2016 09:10:58 -0800 (PST)
X-Received by 10.182.230.164 with SMTP id sz4mr141953obc.3.1455556258752; Mon, 15 Feb 2016 09:10:58 -0800 (PST)
Path csiph.com!weretis.net!feeder6.news.weretis.net!news.glorb.com!ok5no2098169igc.0!news-out.google.com!kr2ni5604igb.0!nntp.google.com!ok5no2098159igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.graphics.apps.gnuplot
Date Mon, 15 Feb 2016 09:10:58 -0800 (PST)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=2001:6b0:17:f026:9c66:f9fd:d7d0:548d; posting-account=HOPmCwoAAADLHLUcJF-cWjB8M8YeeMJ7
NNTP-Posting-Host 2001:6b0:17:f026:9c66:f9fd:d7d0:548d
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <65879cc4-a1af-4e93-9850-a2d045a8ee89@googlegroups.com> (permalink)
Subject Obtain data points of a line from gnuplot
From jamie.unix@gmail.com
Injection-Date Mon, 15 Feb 2016 17:10:58 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.graphics.apps.gnuplot:3235

Show key headers only | View raw


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 | NextNext in thread | Find similar


Thread

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