How to specify histogram's x and y axis
87 views (last 30 days)
Show older comments
I have 2 subplots in a figure, both of them histograms.
1) I'd like the x-axis of the left subplot to go from 0 to 6 like the subplot on the right. I'm sure there's an easy way to do this, but setting the 'XTick' property didn't work.
2) I'd like to extend the y axis on both subplots to go up to 22, but again, manually setting 'YTick' doesn't do it.
0 Comments
Accepted Answer
More Answers (1)
See Also
Categories
Find more on Histograms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!