shift horizontal histogram to right
Show older comments
I am trying to shift the entire histogram to right, i.e. at 0.04 instead of 0, without changing the xticks.

6 Comments
Ameer Hamza
on 27 Mar 2020
Can you show an example output. How do you want to move distogram without moving the xticks.
Guillaume
on 27 Mar 2020
Personally, I find this graph very confusing. What is the benefit of showing the histogram bars horizontally rather than vertically the way it's normally displayed?
And like Ameer, I certainly don't understand what that would mean for the bars of a histogram count/pdf/cdf/whatever to start at 0.4.
Mos_bad
on 27 Mar 2020
Ameer Hamza
on 27 Mar 2020
Do you want to show the pdf as bars or curves? For curves, it can be quite straightforward. For histograms, I couldn't think of a direct way. You will need to add several invisible axes and try to adjust their positions manually. Although possible, only try if it is necessary.
Image Analyst
on 27 Mar 2020
Would the waterfall plot be okay? Check out the waterfall function.
Mos_bad
on 27 Mar 2020
Accepted Answer
More Answers (0)
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!


