Plotting style cityscape

Hello,

I would like to see some data plotted with each point being represented by a horizontal bar. Like using cityscape with only the horizontal lines but not the vertical ones. Currently I achieve this by combining dots with horizontal error bars of fixed width. That is possible because the x-intervals are constant. I guess, if they weren't I had to calculate an error wave for that purpose.

If anyone knows of a more sophisticated way of doing this, I would appreciate your reply.

kangaroo.
Make a graph with vertical bars and then swap axes. To swap axes, double-click in the graph margin to bring up the Modify Graph dialog. Turn on the Swap X & Y Axes checkbox.

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
johnweeks wrote:
Make a graph with vertical bars and then swap axes. To swap axes, double-click in the graph margin to bring up the Modify Graph dialog. Turn on the Swap X & Y Axes checkbox.


Thanks for this suggestion. I would never have been able come up with this solution.
Following your comment I tried


display x_wave vs y_wave
ModifyGraph mode=6,toMode=0
ModifyGraph swapXY=1


and it worked, though I am not yet sure how it will integrate into my function.