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일

0 개 추천

Try this:
scatter(x, y, 100, 'k', 'square', 'filled');

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품

릴리스

R2018a

질문:

2018년 6월 8일

답변:

2018년 6월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by