X-Received: by 10.107.6.142 with SMTP id f14mr5093581ioi.97.1495225888709; Fri, 19 May 2017 13:31:28 -0700 (PDT) X-Received: by 10.157.84.44 with SMTP id j44mr248004oth.16.1495225888687; Fri, 19 May 2017 13:31:28 -0700 (PDT) Path: csiph.com!feeder.erje.net!2.us.feeder.erje.net!feeder.usenetexpress.com!feeder1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!67no765974itx.0!news-out.google.com!m134ni3186itb.0!nntp.google.com!67no765969itx.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.graphics.apps.gnuplot Date: Fri, 19 May 2017 13:31:28 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=173.9.124.249; posting-account=u4ah_QoAAADXo3wSNvcNyRdNPEq9Vg9V NNTP-Posting-Host: 173.9.124.249 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: placing expressions in "using" fails From: Fritz Sonnichsen Injection-Date: Fri, 19 May 2017 20:31:28 +0000 Content-Type: text/plain; charset="UTF-8" Lines: 14 Xref: csiph.com comp.graphics.apps.gnuplot:3648 On Friday, May 19, 2017 at 1:09:11 PM UTC-4, Fritz Sonnichsen wrote: > I am trying to do some elementary data manipulation before plotting a curve, such as "divide all by 2". The documentation vaguely alludes to this in the form: > plot '$file1' using 1:($17/2) w l t > > However when I use this construct I get and "invalid expression" condition and the field "$17" appears to be empty (it is not). > > The gnuplot doc I am referring to is: http://gnuplot.sourceforge.net/docs_4.2/node133.html > > any ideas appreciated > thanks! > fritz Thank You--that worked-- Fritz