error bar location movement on cityscape histogram

Dear Forum -

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
forum error bar pic.jpg
I wonder if you could use the mulOffset feature on the error bar trace to do what you want:

ModifyGraph muloffset(errorbarTrace)={10^(.5),0}


--Jim Prouty
Software Engineer, WaveMetrics, Inc.
Instead of moving your dummy trace that has offset-ed x-values to the background with a white color, keep the dummy trace in the standard drawing layer and change its mode to "dots" or "markers" with a color that matches the cityscape. It should just blend in to the cityscape line, especially if it's a lower priority in "reorder traces".
JimProuty wrote:
I wonder if you could use the mulOffset feature on the error bar trace to do what you want:

ModifyGraph muloffset(errorbarTrace)={10^(.5),0}


--Jim Prouty
Software Engineer, WaveMetrics, Inc.


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!