How can I create image from 2d matrix?
2 ビュー (過去 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!