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

Réponses (2)

Henry Giddens
Henry Giddens le 5 Sep 2016

0 votes

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

0 votes

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