Filter löschen
Filter löschen

color for surf 3d

5 Ansichten (letzte 30 Tage)
samer mahmoud
samer mahmoud am 17 Dez. 2015
Kommentiert: samer mahmoud am 20 Dez. 2015
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');

Antworten (1)

Geoff Hayes
Geoff Hayes am 17 Dez. 2015
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 Kommentare
Walter Roberson
Walter Roberson am 19 Dez. 2015
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 am 20 Dez. 2015
k

Melden Sie sich an, um zu kommentieren.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by