error bar location movement on cityscape histogram
hodgesm
Forgive me if this has been asked before, I have searched for histogram help and have not seen anything relevant to my query. I am making a cityscape plot that details flux in specified energy ranges (bins) and wish to attach my error bars in each bin. The only problem is, the error bars are placed at the left bound of the individual cityscape bins and I wish the error bars to be placed in the middle of each range (bin). Is there a way to simply "move" the error bar so that it appears in the center of my bin? I tried creating a new trace with a modified x-value and proceeded to place the error bar on this trace, AND then move the trace "to the back ground" with a white color so that the trace simply disappears into the background; but the error bar also disappears into the background. I've attached a pic of what I'm currently seeing (error bars in black and pink) and an example what I want to see (blue color on the bottom right portion).
If there is no way to do what I wish, does anyone have any suggestions on a better way to make a histogram? I've come across the 2d histogram code but i'm unsure how to implement it within IgorPro. Thanks everyone for reading, and especially for your help.
Matt
--Jim Prouty
Software Engineer, WaveMetrics, Inc.
June 23, 2016 at 12:38 pm - Permalink
June 23, 2016 at 01:30 pm - Permalink
Thanks for the suggestions, I combined both of your tips and it worked! I created duplicate traces with the original data and used the offset command to move over the error bars. Then I changed from cityscape to dots and it blended in over the original trace. Worked like a charm. I would've never figured that out without your help - thanks again!
June 24, 2016 at 01:54 pm - Permalink