필터 지우기
필터 지우기

color for surf 3d

조회 수: 5 (최근 30일)
samer mahmoud
samer mahmoud 2015년 12월 17일
댓글: samer mahmoud 2015년 12월 20일
i represent a 3d surf in my code and i want color the result blue not black i use this code :
h=surf(xImage,yImage,zImage,...
'CData',rgbPic,...
'FaceColor','interp','EdgeColor','none','LineStyle','none');

답변 (1개)

Geoff Hayes
Geoff Hayes 2015년 12월 17일
Samer - what happens if you just set the FaceColor property to blue as
h=surf(xImage,yImage,zImage,...
'CData',rgbPic,...
'FaceColor','blue','EdgeColor','none','LineStyle','none');
  댓글 수: 12
Walter Roberson
Walter Roberson 2015년 12월 19일
In your other thread where the discussion is taking place, rgbPic is not binary, but in this thread it is??
It gets really confusing for people when you are discussing two different versions of code without making clear what the difference is between the two versions.
samer mahmoud
samer mahmoud 2015년 12월 20일
k

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by