Page 1 of 1

sddsplot help

Posted: 15 Apr 2013, 13:27
by tennant
Hi,

Still struggling to learn the intricacies of sddsplot... I have data (index, avg, min, max) where I'd like to generate a plot of index vs avg with error bars that extend down to min and up to max for each point (see attached file).

Any help is greatly appreciated.
Thanks,
chris

Re: sddsplot help

Posted: 15 Apr 2013, 13:39
by michael_borland
Chris,

sddsplot only understands symmetric error bars. For those, you'd do something like

Code: Select all

sddsplot -column=index,ave,sigma -graph=error test.sdds
In your case, if min and max are not symmetric about ave, you'll need to do some pre-processsing

Code: Select all

sddsprocess test.sdds -define=col,ave1,"min max + 2 /" -define=col,sigma,"max min - 2 /"
sddsplot -column=index,ave -graph=sym test.sdds -column=index,ave1,sigma -graph=error test.sdds
--Michael