Multiple colormaps in a single map figure
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Colormaps en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!