Color Combinations

Hi, Is there are any extra color combinations along with Y,m,c,r,g,b,w,k. Any one can please tell me the pre defined commands used for extra combinations.

답변 (1개)

Walter Roberson
Walter Roberson 2011년 2월 7일

1 개 추천

There is no way to define any additional named color combinations.
Any Matlab command that accepts a letter designating a color will also accept an RGB triple; it might, however, require it to be a separate parameter such as 'Color', [.2 .8 1]
You can define variables which are vectors, and then use (e.g.)
puce = [.2 .8 1];
plot(x,y,'Color',puce)

카테고리

도움말 센터File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

제품

질문:

2011년 2월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by