Color map using gscatter
Afficher commentaires plus anciens
Hello,
I am using gscatter to make a scatter plot of temperature vs kd color coded by temperature.
I would like to color code the temperature using a color map (either hot or autumn) to show the temperature gradients movement from hot to cold, but can not figure out how to do this using gscatter.
I have posted my code below:
figure(6); hold on; box on;
gscatter(alldataoxides.pHs, log(alldataoxides.kds), alldataoxides.Temperature)
colormap autumn
xlabel('pH');
ylabel('log kd');
title('oxides - synthetic corundum, geothite, gibbsite')
hold off;
Any advice would be much apprecitated!
Thanks.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Blue dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

