setting color scale of two datasets in the same axis in Matlab
Ältere Kommentare anzeigen
I have two datasets on the same axis. One is plotted using "contourf" and the other one is using "scatter".
The one with scatter is "filled" according to the value of the Z-value.
The two datasets have different value range. How do I set the limit separately for the two datasets?
In the plot below, it seems the colormap is set according the latest dataset being plotted.
The "contour" will be plotted in the background while the filled circle (the second dataset) will be color-coded.

Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Annotations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
