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
sddsplot help
Moderators: cyao, michael_borland
sddsplot help
- Attachments
-
- test.sdds
- (2.01 KiB) Downloaded 166 times
-
- Posts: 1951
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: sddsplot help
Chris,
sddsplot only understands symmetric error bars. For those, you'd do something like
In your case, if min and max are not symmetric about ave, you'll need to do some pre-processsing
--Michael
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
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