ind2rgb(Binary Matrix, colormap with two entries)
Color representation in matrices
1 次查看(过去 30 天)
显示 更早的评论
Dear friends,
I have a square matrice containing elements 1 and 0 only. The ones in the matrix represents solids and I want it to turn out with a particular color reflecting all the elements 1 as solids with same colors. How can I do this please?
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Lighting, Transparency, and Shading 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!