Two contour plots on the same figure with two different colormaps?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I have seen some answers on this, but always use the axes function to create a cartesian axes, which is not the case I am looking for.
Im aiming to plot a contour surface into another with two different colormaps. Tried to introduce it as a property, but it is not the case either. I have got to plot one over another but with the same colormap, so it is not visible
The image below is a wind contour over a pressure contour. Would be something similar. Thanks for your help.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1247307/image.png)
0 Commenti
Risposte (1)
MJFcoNaN
il 30 Dic 2022
Hello,
As you mentioned, adding a new axes is a normal suggestion to introduce a new colormap, because an axes can only have one colormap property.
I have tried a more tedious way that merging two colormap into one by modifying data range and creating a merged colormap matrix.
Vedere anche
Categorie
Scopri di più su Contour Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!