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


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

placing expressions in "using" fails

X-Received by 10.13.228.197 with SMTP id n188mr5141483ywe.156.1495213750979; Fri, 19 May 2017 10:09:10 -0700 (PDT)
X-Received by 10.157.34.229 with SMTP id y92mr227012ota.15.1495213750891; Fri, 19 May 2017 10:09:10 -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!nntp.giganews.com!t26no441958qtg.1!news-out.google.com!v18ni3019ita.0!nntp.google.com!67no716642itx.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.graphics.apps.gnuplot
Date Fri, 19 May 2017 10:09:10 -0700 (PDT)
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
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <a93248a5-f227-4af7-a807-93f7d78faee6@googlegroups.com> (permalink)
Subject placing expressions in "using" fails
From Fritz Sonnichsen <sonnichs@gmail.com>
Injection-Date Fri, 19 May 2017 17:09:10 +0000
Content-Type text/plain; charset="UTF-8"
Lines 10
Xref csiph.com comp.graphics.apps.gnuplot:3646

Show key headers only | View raw


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

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar


Thread

placing expressions in "using" fails Fritz Sonnichsen <sonnichs@gmail.com> - 2017-05-19 10:09 -0700
  Re: placing expressions in "using" fails Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2017-05-19 20:48 +0200
  Re: placing expressions in "using" fails Fritz Sonnichsen <sonnichs@gmail.com> - 2017-05-19 13:31 -0700

csiph-web