colour specification for gray colour

72 次查看(过去 30 天)
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

采纳的回答

Image Analyst
Image Analyst 2012-5-8
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');

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by