Color map using gscatter
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Blue en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

