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


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

Re: plotting row data from a datafile?

X-Received by 2002:a6b:590e:: with SMTP id n14-v6mr30220614iob.70.1537422025795; Wed, 19 Sep 2018 22:40:25 -0700 (PDT)
X-Received by 2002:a9d:4d90:: with SMTP id u16-v6mr322160otk.4.1537422025563; Wed, 19 Sep 2018 22:40:25 -0700 (PDT)
Path csiph.com!xmission!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!x188-v6no18247ite.0!news-out.google.com!c63-v6ni43ith.0!nntp.google.com!x81-v6no18119ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.graphics.apps.gnuplot
Date Wed, 19 Sep 2018 22:40:25 -0700 (PDT)
In-Reply-To <tgray-2B9333.10012109032005@senator-bedfellow.mit.edu>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=79.187.145.166; posting-account=wbPTfQoAAABoJo1mdD15hHzbclCO42Un
NNTP-Posting-Host 79.187.145.166
References <tgray-2B9333.10012109032005@senator-bedfellow.mit.edu>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <5be94a2b-70dc-4e44-ba3d-c8cd8c60f1a4@googlegroups.com> (permalink)
Subject Re: plotting row data from a datafile?
From mkorshunov@gmail.com
Injection-Date Thu, 20 Sep 2018 05:40:25 +0000
Content-Type text/plain; charset="UTF-8"
Lines 9
Xref csiph.com comp.graphics.apps.gnuplot:4045

Show key headers only | View raw


On Wednesday, March 9, 2005 at 4:01:21 PM UTC+1, Anthony Gray wrote:
> Is there a simple way to plot a datafile which stores data in rows
> rather than in columns?
> 
> I am sure there is, but I am just learning gnuplot and I can't figure 
> out an answer from the documentation. 

There is a simple way to do this using the matrix directive. Replace n1 with the desired row number:

plot 'data' matrix every :::n1::n1

Back to comp.graphics.apps.gnuplot | Previous | Next | Find similar


Thread

Re: plotting row data from a datafile? mkorshunov@gmail.com - 2018-09-19 22:40 -0700

csiph-web