Visualisation 2D mesh grey values
Mostra commenti meno recenti
Hellow, i need code for visualtisation for a 2D mesh. I have a matrix with grey values ( 0 to 1) and i have to visualate it according to the grey value. For example a 3x3 matrix [ 0.236 0.256 0.785 ; 1 0 0 ; 0.369 0.259 0 ] and know i want to see where the most grey is in a mesh. Hopefully anyone can help me. Thx
Risposta accettata
Più risposte (2)
Fiboehh
il 27 Apr 2011
0 voti
Alexandre Carvalho Leite
il 27 Apr 2011
0 voti
Just type this: surf(peaks(30)), colormap('Gray');
Categorie
Scopri di più su Lighting, Transparency, and Shading in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!