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