How to control the next color?

조회 수: 2 (최근 30일)
Mr M.
Mr M. 2015년 11월 10일
답변: Mike Garrity 2015년 11월 10일
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일
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.

카테고리

Help CenterFile Exchange에서 Scatter Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by