Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
How can i color into circle element when i plot the curve?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Réponses (2)
Image Analyst
le 2 Avr 2019
One way is to use the scatter() function and tell it to use 'filled' markers.
Another way is to use plot and use a gigantic marker size
plot(x, y, 'r.-', 'MarkerSize', 100);
A third way is to use the rectangle() function - see the help for an example.
0 commentaires
KSSV
le 2 Avr 2019
th = linspace(0,2*pi) ;
x = cos(th) ;
y = sin(th) ;
patch(x,y,'r')
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!