Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

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

조회 수: 1 (최근 30일)
mattvanviore
mattvanviore 2019년 4월 2일
마감: MATLAB Answer Bot 2021년 8월 20일
point.png

답변 (2개)

Image Analyst
Image Analyst 2019년 4월 2일
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 2019년 4월 2일
th = linspace(0,2*pi) ;
x = cos(th) ;
y = sin(th) ;
patch(x,y,'r')

이 질문은 마감되었습니다.

태그

제품


릴리스

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by