Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Naren Newsgroups: comp.graphics.apps.gnuplot Subject: How to extract point data. Date: Wed, 19 Oct 2011 10:12:20 -0700 (PDT) Organization: http://groups.google.com Lines: 22 Message-ID: <31706069.122.1319044340309.JavaMail.geo-discussion-forums@yqoo7> Reply-To: comp.graphics.apps.gnuplot@googlegroups.com NNTP-Posting-Host: 117.193.37.42 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1319044341 9345 127.0.0.1 (19 Oct 2011 17:12:21 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 19 Oct 2011 17:12:21 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=117.193.37.42; posting-account=92JRoAoAAABsLkO-GsjAXoH1bjlkW7it User-Agent: G2/1.0 X-Google-Web-Client: true Xref: x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:648 I have a data file containg values of X and Y data. Example (Y = 2X) X Y 1 1 2 4 3 6 4 8 5 10 6 12 When I plot the data I get a nice curve. However what I want is to get the Y-value for a given X-value. Is it possible to extract. Additionaly, the (X,Y) pair may not be explicity present in the file. For eg X = 4.5 in the above case. Is it possible to get the Y value for X = 4.5 from the above data set and store it in a variable. Thanks in advance