Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!feeder2.cambriumusenet.nl!feeder1.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!uc9g2000pbc.googlegroups.com!not-for-mail From: Tom Gederberg Newsgroups: comp.graphics.apps.gnuplot Subject: How to plot data relative to a specific data point Date: Fri, 10 Feb 2012 09:42:25 -0800 (PST) Organization: http://groups.google.com Lines: 22 Message-ID: <43950b82-c09e-4e85-8863-a175abfdf84f@uc9g2000pbc.googlegroups.com> NNTP-Posting-Host: 130.76.96.149 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1328895745 6856 127.0.0.1 (10 Feb 2012 17:42:25 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 10 Feb 2012 17:42:25 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: uc9g2000pbc.googlegroups.com; posting-host=130.76.96.149; posting-account=y-rwfgoAAADIuD96lr_yl-o5TONGCL9e User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HACRNKUSEL X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1,gzip(gfe) Xref: x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:934 I know this is probably a stupid question but I have not been able to find the answer anywhere. Suppose I have a data file that looks like: Time Value1 Value2 Value3 568744.0 -3.2 5.4 8.8 568744.2 9.1 8.1 -3.5 . . . . . . . . . . . . 568423.0 5.7 6.1 7.7 I want to plot the data against time, but want time starting at 0, not 568744.0. I know I can say plot "data.txt" u ($1 - 568774.0):2 w lines but is there a way to tell gnuplot to refer to the first time value (something like $1(0)). Does this question make sense?