How to get a vertical histogram, as in the X axis should be displayed vertically?

41 views (last 30 days)
When we plot the histogram we get the x-axis horizontally. I want to have x-axis displayed vertically and y-axis horizontally, and also I would like to have the mean and median displayed on the histogram graph itself (like mean = 24, should be displayed on the graph). Is there a solution to this? Thank you in advance.

Answers (1)

Sachin Ganjare
Sachin Ganjare on 9 Oct 2012

Community Treasure Hunt

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

Start Hunting!