colour specification for gray colour

45 Ansichten (letzte 30 Tage)
kash
kash am 8 Mai 2012
I have a line taken fron wavelet3d demo
hiso = patch(isosurface(Ds,5),'FaceColor','k','EdgeColor','none');
k gives black colour,but i need gray colour instead of black,please tell the colour code for gray colour

Akzeptierte Antwort

Image Analyst
Image Analyst am 8 Mai 2012
Use a 1 by 3 array of numbers in the range 0-1, for example:
hiso = patch(isosurface(Ds,5),'FaceColor',[0.5 0.5 0.5],'EdgeColor','none');

Weitere Antworten (0)

Kategorien

Mehr zu Structures finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by