Rotating 3-D Histogram

I was wondering how I could rotate figures from 3-D histogram in matlab such that it would look like the image I posted above:
I want to be able to see the grid with colors, without having to do it manually in the figure window. Thanks

回答(2 个)

How about:
view(gca,[0 90])
% or
ax = gca;
ax.View = [0 90];
Henry
Steven Lord
Steven Lord 2016-9-6

0 个投票

If you're using the histogram2 function set the DisplayStyle property to 'tile'. See the "Tiled Histogram View" example on that page for more information.

类别

Community Treasure Hunt

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

Start Hunting!

Translated by