pcolor - colorbar question
2 次查看(过去 30 天)
显示 更早的评论
Hello,
I am creating maps using pcolor with a colorbar using colors from white to yellow to light red for small to medium to large values, respectively. I am using caxis to request the limits of the colorbar, however when I have outliers (extreme large numbers) in my data I see that my map now has dark red, black or gray colors where those extreme values are instead of the light red color I defined for large values. How could I force the extreme values of my data to have the light red color that I defined for my colorbar and skip those unwanted colors in my map?
Thanks!
4 个评论
dpb
2018-11-17
Ummm...I thunk based on doc that the extremes of the values passed to pcolor were mapped to that range so there wouldn't be any values beyond there...
Can you post a code snippet and data that illustrates your problem for folks to poke at? Attaching .mat file is probably most compact/convenient way to provide the data.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Orange 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!