How do I fill in this square?

34 ビュー (過去 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 Center および File ExchangeVector Fields についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by