Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How can i color into circle element when i plot the curve?

1 Ansicht (letzte 30 Tage)
mattvanviore
mattvanviore am 2 Apr. 2019
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
point.png

Antworten (2)

Image Analyst
Image Analyst am 2 Apr. 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.

KSSV
KSSV am 2 Apr. 2019
th = linspace(0,2*pi) ;
x = cos(th) ;
y = sin(th) ;
patch(x,y,'r')

Diese Frage ist geschlossen.

Tags

Produkte


Version

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by