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


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

using gnuplot to modify table

From Jean Dupont <jeandupont115@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject using gnuplot to modify table
Date Tue, 31 Jan 2012 01:26:44 -0800 (PST)
Organization http://groups.google.com
Lines 17
Message-ID <d70045ad-6f76-40de-bc79-bfc4ee70ecdc@q8g2000yqa.googlegroups.com> (permalink)
NNTP-Posting-Host 193.190.130.128
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
X-Trace posting.google.com 1328005810 16843 127.0.0.1 (31 Jan 2012 10:30:10 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Tue, 31 Jan 2012 10:30:10 +0000 (UTC)
Complaints-To groups-abuse@google.com
Injection-Info q8g2000yqa.googlegroups.com; posting-host=193.190.130.128; posting-account=Ze39fQoAAAA43Ez-dgCUvxHYN1rOASaw
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-Header-Order HUALESNKRC
X-HTTP-UserAgent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20111108 Iceweasel/3.5.16 (like Firefox/3.5.16),gzip(gfe)
Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.franciliens.net!feed.ac-versailles.fr!proxad.net!feeder1-2.proxad.net!74.125.64.80.MISMATCH!postnews.google.com!q8g2000yqa.googlegroups.com!not-for-mail
Xref x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:879

Show key headers only | View raw


Is it possible to use gnuplot to manipulate a table as follows:

This is the format of the original table:
textstring columnvalue1 columnvalue2 columnvalue3

I want the new table like this:
columnvalue3 columnvalue1 columnvalue2

I tried this:
set table 'output.dat'

but plot 'originaltable.dat' u 4:2:3

does not give the result I expected, does anyone here how to do it
correctly (using Gnuplot of course)

Jean

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


Thread

using gnuplot to modify table Jean Dupont <jeandupont115@gmail.com> - 2012-01-31 01:26 -0800
  Re: using gnuplot to modify table Hermann Peifer <peifer@gmx.eu> - 2012-01-31 14:01 +0100
    Re: using gnuplot to modify table Jean Dupont <jeandupont115@gmail.com> - 2012-01-31 13:12 -0800
      Re: using gnuplot to modify table Hermann Peifer <peifer@gmx.eu> - 2012-02-01 08:16 +0100
        Re: using gnuplot to modify table Jean Dupont <jeandupont115@gmail.com> - 2012-02-01 12:08 -0800
  Re: using gnuplot to modify table Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2012-01-31 22:29 +0100
    Re: using gnuplot to modify table Jean Dupont <jeandupont115@gmail.com> - 2012-02-01 12:02 -0800
      Re: using gnuplot to modify table Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2012-02-01 22:57 +0100
        Re: using gnuplot to modify table Jean Dupont <jeandupont115@gmail.com> - 2012-02-02 03:42 -0800
          Re: using gnuplot to modify table Christoph Bersch <usenet@bersch.net> - 2012-02-02 13:16 +0100
            Re: using gnuplot to modify table Jean Dupont <jeandupont115@gmail.com> - 2012-02-02 11:10 -0800

csiph-web