How to control the next color?

I am using scatter plots: scatter(...); scatter(...); scatter(...); scatter(...); etc. Each of the plots has different colors automatically. How to change the colors? I dont want to give custom colors, just use another color map.

回答(1 个)

Mike Garrity
Mike Garrity 2015-11-10

0 个投票

If you're using scatter without a CData argument (4th arg), then it's using the ColorOrder property of the axes. You can find some examples of how to set that on this page of the doc.

类别

在 帮助中心 和 File Exchange 中查找有关 Scatter Plots 的更多信息

提问:

2015-11-10

回答:

2015-11-10

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by