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


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

Re: variable addition in GNU plot

From Hans-Bernhard Bröker <HBBroeker@t-online.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: variable addition in GNU plot
Date 2011-02-09 02:11 +0100
Organization T-Online
Message-ID <iispkh$kmb$02$1@news.t-online.com> (permalink)
References <5fcacdbd-ef09-4abd-ac9e-c9351c2f7419@v31g2000vbs.googlegroups.com>

Show all headers | View raw


On 08.02.2011 19:13, Farrukh wrote:

> During simulation i got two files of "time vs throughput", i want to
> add throughput from these files and to display it on time axis
> accordingly.

That's not really gnuplot's job.  gnuplot is plotting program, not a 
data manipulation tool.  What you need is a text file utility.  The 
simplest one for the job is the Unix tool "paste", which you can even 
use from inside gnuplot:

	plot "<paste file1 file2" using 1:($2+$4)

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


Thread

variable addition in GNU plot Farrukh <mir.kiel@gmail.com> - 2011-02-08 10:13 -0800
  Re: variable addition in GNU plot Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2011-02-09 02:11 +0100

csiph-web