|
From: Praedor A. <pr...@ya...> - 2007-09-19 16:24:53
|
On Wednesday 19 September 2007 11:29:59 blooopsi wrote: > the command is > > plot `agevsgamm.dat` with yerrorbars > > the data set contains of four columns of numbers so i think that normally > it should plot asymmetric errorbars on the datapoints which it isnt > doing.it is plotting errorbars but not on my datapoints. they are plotted > below the data points which is an absoulte miracle to me why it would do > that. Sadly, I am no gnuplot expert. I did what you likely did and read the=20 instructions ("help errorbars", etc). From the gnuplot help information it= =20 is clear that 4 columns SHOULD work as you expect. I quickly threw togethe= r=20 a datafile that contained 4 columns of "data" with the last 2 intended for= =20 minus and plus y error numbers. Plotting thus, 'plot "./test.dat" using=20 1:2:3:4 with yerrorbars' produces a nonsense plot. The x and y data is=20 plotted properly but the two y error columns are, like you experience,=20 plotted separate from the actual xy data (though the plus and minus y error= =20 bars are correct). Same result if I simply do 'plot "./test.dat" with=20 yerrorbars'. Simply changing the command to 'plot "./test.dat" using 1:2:3= =20 with yerrorbars' DID plot properly with the symmetrical y error bars=20 coincident with the datapoints.=20 Someone with much more expertise/experience is going to have to jump in her= e. =20 It seems that gnuplot is behaving contrary to what its in-program help=20 indicates it should. =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 |