Color map using gscatter
Mostra commenti meno recenti
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.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Blue in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

