|
From: Praedor A. <pr...@ya...> - 2007-09-20 12:08:24
|
On Thursday 20 September 2007 04:20:57 blooopsi wrote: > Thanks a lot for all your help. I finally read the gnuplot help (which i > probably should do more often :-)) and solves the problem. for everyone w= ho > is interested.it is: > plot 'data.dat' using 1:2:($2+$3):($2-$4) with yerrorbars. > in all the other gnuplot help sites this isn't necessary. so, i dont know > how they produce their errorbars. It doesn't seem that it should be necessary to go all out with the extra co= de =20 since it automatically "knows" that a 3rd column is +/- y error bars if a= =20 3rd column exists and you use the switch "with yerrorbars", it should be=20 assumed that if there are four columns and you use "with yerrorbars", that= =20 should be enough to tell it "columns 3 and 4 are y error data with 3 as=20 positive error and 4 as negative error", etc. Having to use "($2+$3): ($2-$4) " is then redundant to using "with yerrorbars". What ELSE are the= =20 3rd and 4th columns going to be under the circumstances? Same thing if one= =20 uses the switch "with xerrorbars". =20 praedor =2D-=20 =E2=80=9CThe whole problem with the world is that fools and fanatics are al= ways so=20 certain of themselves, but wiser people so full of doubts.=E2=80=9D - Bertrand Russell |