plot an array with different colors for the height

I have an array of data which I currently plot using bar3. Now I want to use the height information as an indication for color: i.e. at low values (0) blue changing to high values (1) red (or something similar). How would I go about doing this?
I have a picture attached of what I currently have. I want to be able change the coloring work long the z axis.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

제품

태그

질문:

2014년 7월 11일

댓글:

2014년 7월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by