Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #1090 > unrolled thread
| Started by | Gudrun <bestenborstel@gmail.com> |
|---|---|
| First post | 2012-05-13 19:21 +0200 |
| Last post | 2012-05-14 04:48 +0700 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
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
| From | Gudrun <bestenborstel@gmail.com> |
|---|---|
| Date | 2012-05-13 19:21 +0200 |
| Subject | Subtract two data files |
| Message-ID | <jooqi5$pd0$1@news.albasani.net> |
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
[toc] | [next] | [standalone]
| From | Michael <proximum@land.ru> |
|---|---|
| Date | 2012-05-14 04:48 +0700 |
| Message-ID | <jopa7n$as2$1@dont-email.me> |
| In reply to | #1090 |
14.05.2012 00:21, Gudrun написал: > "< paste a.dat b.dat" using ($1):(($4)-($2)) w points ls 3 title "test" Don't know, for me it works. $ cat >a.dat 1 2 3 4 5 6 $ cat >b.dat 10 20 30 40 50 60 plot "< paste a.dat b.dat" using 1:($4-$2) w points ls 3 notitle
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web