Plot a hist3 from centers and nelements

2 views (last 30 days)
Filipe
Filipe on 10 Apr 2014
Is it possible to create a hist3 plot from centers and elements like in the 2D way?
[nelements,centers] = hist(___) returns an additional row vector, centers, indicating the location of each bin center on the x-axis. To plot the histogram, you can use bar(centers,nelements).
This is because I need to create the bins, delete the elements from certain bins and create the hist afterwards.
Best regards

Answers (0)

Community Treasure Hunt

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

Start Hunting!