Trying to colour a circle but not all only one qudrant want to colour
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How can i colour a quadrant of circle by yellow and rest by any colour
0 commentaires
Réponses (1)
KALYAN ACHARJYA
le 3 Oct 2020
Modifié(e) : KALYAN ACHARJYA
le 3 Oct 2020
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 commentaires
Voir également
Catégories
En savoir plus sur Colormaps dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!