Color map using gscatter
显示 更早的评论
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.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Blue 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

