How can I create image from 2d matrix?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
i have 2d matrix with velocities in the range 4900-5100.I have problem with colormap.
function x=f(nd)
x=load('nd.dat') y=transpose(x) image(y) colorbar
Any suggestions regarding the range?
0 Kommentare
Antworten (1)
Kye Taylor
am 13 Jul. 2012
As a first attempt, try replacing
image
with
imagesc
which scales the colormap to the range of values in the matrix.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Blue 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!