plotting 3rd variable in both colour and surface

Hi,
I'm trying to plot a matrix with both colour and height on a 3D graph, effectively imagesc but with height as well as colour for the non-locaqtion variable.
Can anyone recommend a function to do this?
Also, this is being plotted in app designer FYI.
cheers

댓글 수: 4

KSSV
KSSV 2018년 12월 13일
Why not surf ?
whenever I try to use surf it just produces a 2D figure. I am pre specifying "figure", is there a 3D version of this?
so upload your datas to experiment
madhan ravi
madhan ravi 2018년 12월 13일
편집: madhan ravi 2018년 12월 13일
Man comeon! , what are the datas? how can we run your code??

댓글을 달려면 로그인하십시오.

 채택된 답변

KSSV
KSSV 2018년 12월 13일

0 개 추천

[X,Y,Z] = peaks(100) ;
surf(X,Y,Z,Z)

추가 답변 (0개)

카테고리

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

태그

질문:

2018년 12월 13일

답변:

2018년 12월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by