left facing horizontal bar plot

12 views (last 30 days)
Max
Max on 13 Mar 2011
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

Andrew Newell
Andrew Newell on 13 Mar 2011
Make your plot and then add this command:
set(gca,'XDir','reverse')

More Answers (0)

Categories

Find more on Line Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!