How do I fill in this square?
이전 댓글 표시
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
2018년 6월 8일
Try this:
scatter(x, y, 100, 'k', 'square', 'filled');
카테고리
도움말 센터 및 File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!