How can I use colors in my surf, truely?

조회 수: 1 (최근 30일)
Ayob
Ayob 2014년 1월 23일
편집: Ayob 2014년 1월 23일
I've used surf order with a simple method surf(X,Y,Z). X and Y are p*1 matrices and Z is a p*p matrix. I want to use colors to show me differences for z value, but as you see in my surf colors are not used to show contours for z value and maybe this contour is meaningless. How can I solve the problem?
  댓글 수: 2
Walter Roberson
Walter Roberson 2014년 1월 23일
Please show the relevant code
Ayob
Ayob 2014년 1월 23일
편집: Ayob 2014년 1월 23일
figure(4)
surf(YY,XX,Z)

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

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2014년 1월 23일
  댓글 수: 1
Ayob
Ayob 2014년 1월 23일
편집: Ayob 2014년 1월 23일
I did it, but *it still doesn't work.*

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by