How can I create image from 2d matrix?
조회 수: 1 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Kye Taylor
2012년 7월 13일
As a first attempt, try replacing
image
with
imagesc
which scales the colormap to the range of values in the matrix.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Blue에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!