Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeder.erje.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail From: =?ISO-8859-1?Q?Hans-Bernhard_Br=F6ker?= Newsgroups: comp.graphics.apps.gnuplot Subject: Re: using gnuplot to modify table Date: Wed, 01 Feb 2012 22:57:11 +0100 Lines: 24 Message-ID: <9otqpqF927U1@mid.dfncis.de> References: <9or4otFmgjU1@mid.dfncis.de> <75ba7e7d-6753-4d93-a33c-8ab596989502@dp8g2000vbb.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.dfncis.de g5QopUdF/iAEKZC8t+uBoQX4LpWhBvkzXGEXUvhoqB3RoYiL9n2YWOMc/c Cancel-Lock: sha1:b3HWHt+gIQkee5uQ7qasf8hldiQ= User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0) Gecko/20120129 Thunderbird/10.0 In-Reply-To: <75ba7e7d-6753-4d93-a33c-8ab596989502@dp8g2000vbb.googlegroups.com> Xref: x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:888 On 01.02.2012 21:02, Jean Dupont wrote: > here is an example fragment of the inputfile > temp1 20 1 40 > volt3 30 3 60 > cap2 35 2 70 > and here is the expected 'output.dat': > 40 20 1 > 60 30 3 > 70 35 2 > and here is the output.dat I got using set table 'output.dat' and plot > 'originaltable.dat' u 4:2:3 > # Curve 0 of 1, 3 points > # Curve title: "'input' u 4:2:3" > # x y type > 40 20 i > 60 30 i > 70 35 i You should pick a three-column plot style (e.g. "with errorbars") to get all three columns processed. The output will still have the extra 'i' column and the comments at the top, though.