How do I change color of the segmented areas from an image?

1 view (last 30 days)
I just need to change the areas with in the yellow range in these blots to the lower blue range. How can I do that?

Answers (1)

Adam Danz
Adam Danz on 16 Sep 2022
Use the clim function.
  1. call clim without any inputs to see what the original colormap limits are.
  2. shift the clim upward (assuming you're using parula colormap).
Example:
If clim returns [-6 8], move it to something like [-2,10]. Play around with it until you get what you want.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!