How to remove data on left hand region of the image?
2 ビュー (過去 30 日間)
古いコメントを表示
[x, y, frequency] = textread('SRAS_opt.txt','%f %f %f');
A2 = reshape(x,[200,200]);
B2 = reshape(y,[200,200]);
Vb = 24*10^-6*frequency;
V2b = reshape(Vb,[200,200]);
imagesc(V2b);
![Task2d.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/203593/Task2d.jpeg)
I would like to remove the data on the left hand side region so I get a new velocity image.
0 件のコメント
採用された回答
KSSV
2019 年 2 月 11 日
Use pcolor. Plot the color bar......See the limits and values.......which ever values you don't want replace them with NaN or remove them.....
3 件のコメント
KSSV
2019 年 2 月 11 日
Let A be your data which is a matrix..and you want to remove values less than 1 say.
A(A<1) = NaN ;
h = pcolor(A) ;
h.EdgeColor = 'none' ;
colorbar
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!