Trying to colour a circle but not all only one qudrant want to colour
1 回表示 (過去 30 日間)
古いコメントを表示
How can i colour a quadrant of circle by yellow and rest by any colour
0 件のコメント
回答 (1 件)
KALYAN ACHARJYA
2020 年 10 月 3 日
編集済み: KALYAN ACHARJYA
2020 年 10 月 3 日
viscircles([0,0],1);
hold on;
alpha=linspace(0,90)/180*pi;
% Manage Angles ^^ here Quadrant angles
patch([0 cos(alpha) 0], [0 sin(alpha) 0], 'b');
axis off;
Result
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Colormaps についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!