How do I fill in this square?

조회 수: 36 (최근 30일)
JoshT_student
JoshT_student 2018년 6월 8일
답변: Image Analyst 2018년 6월 8일
Hello.
My code is this:
x=1;
y=1;
plot(x,y,'Marker','square')
but I don't know how to fill in the square, and I need to fill it in black. Please help. Thank you

답변 (1개)

Image Analyst
Image Analyst 2018년 6월 8일
Try this:
scatter(x, y, 100, 'k', 'square', 'filled');

카테고리

Help CenterFile Exchange에서 Vector Fields에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by