left facing horizontal bar plot

Hi, looked for a bit, couldn't find the answer. The title pretty much says it all: How to have a horizontal bar plot so that the bars come out from the right side of the plot instead of the left.
Thanks!

 Accepted Answer

Make your plot and then add this command:
set(gca,'XDir','reverse')

More Answers (0)

Categories

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!