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


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

Subtract two data files

From Gudrun <bestenborstel@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Subtract two data files
Date 2012-05-13 19:21 +0200
Organization albasani.net
Message-ID <jooqi5$pd0$1@news.albasani.net> (permalink)

Show all headers | View raw


Dear group,
I am not able to find the following in my notes, but I remember I did 
this already once.
I have two files a.dat and b.dat, each two columns.
I would like to subtract b-$2 from a-$2, but it does not really work. I 
seem dots for high values of x, but there is a difference over the whole 
x-range.

I tried :
"< paste a.dat b.dat" using ($1):(($4)-($2)) w points ls 3 title "test"

Thank you. I use gnuplot 4.5

Thank you for your help
Gudrun

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


Thread

Subtract two data files Gudrun <bestenborstel@gmail.com> - 2012-05-13 19:21 +0200
  Re: Subtract two data files Michael <proximum@land.ru> - 2012-05-14 04:48 +0700

csiph-web