Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Pete Gregory Newsgroups: comp.graphics.apps.gnuplot Subject: Applying arithmetic to a computed column Date: Thu, 24 Jan 2013 09:20:51 -0500 Organization: A noiseless patient Spider Lines: 21 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 24 Jan 2013 14:20:51 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="8a6c71a47f6af55062cfe54d0d625e23"; logging-data="6602"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX185m4PnRIXyItU+AY6eBeZy" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 Cancel-Lock: sha1:ghM86r9uQFf6sfO3dnVczs5FUP4= Xref: csiph.com comp.graphics.apps.gnuplot:1581 Salutations I have a simple script that plots different columns and blocks using the looping capabilities in gnuplot4.6 (and many thanks to those who coded it up). in the loop I have plot 'myfile' using rfchan index dut with lines {etc etc} where rfchan and dut are for loop variables. This works perfectly other than I realize now it would be better scaled in mA rather than A. Were I using just column 2 (say), it would be easy plot '' using ($2*1000) {etc etc} but (rfchan*1000) will resolve to looking for column (rfchan*1000). Is there an easy way to do both the computed column and value multiply ? TIA Pete