How to eliminate points with highest intensity in a color plot?
1 view (last 30 days)
Show older comments
Hi, I have a matrix that I visualize with a color plot. But there are points with very high intensity that don't allow me to visualize it properly. Do you know how can I eliminate these points?
I visualize the matrix with:
figure,imagesc(C(:,:))
1 Comment
Answers (1)
Mehmed Saad
on 16 May 2020
Instead of removing those points you can change Clim property of imagesc
For example
C = rand(40,40);
C(5,5) = 25;
figure,imagesc(C)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/293394/image.png)
Now change the Clim
set(gca,'Clim',[0 1])
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/293395/image.png)
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!