Multiple colormaps in a single map figure
1 次查看(过去 30 天)
显示 更早的评论
So my question is regarding specifically tying multiple axesm (not axes) objects together using linkaxes(). My aim is to overlay two separate map axes and create a single figure, not have multiple subplots each with distinct colormaps.
I've read this question: https://www.mathworks.com/matlabcentral/answers/101346-how-do-i-use-multiple-colormaps-in-a-single-figure about a few different ways to use multiple colormaps on one figure. The one that seemed easiest to implement given that my data has separate ranges is the linkaxes() method. The problem is that it appears that when you link two map axes objects, the colormaps becomes merged and no longer separate between the two.
Actually, it seems you can't even have two map axes on the same figure that don't share the same range and colormap. I was hoping to make a background plot using pcolorm, and then overlay colored circles such as what is done in this other question: https://www.mathworks.com/matlabcentral/answers/194554-how-can-i-use-and-display-two-different-colormaps-on-the-same-figure, but the moment that I introduce the other map axes' colormap, the previous one shifts to mirror the same colormap and range. Any further changes change both of them, even when I specify the axesm that I want to change the colormap properties of.
I'd appreciate any ideas. Merging two colormaps into 1 colormap seems a lot more difficult than just somehow overlaying the two as the values vary pretty wildly between both of the datasets I want to show.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Green 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!