Filter löschen
Filter löschen

How do I fill in this square?

60 Ansichten (letzte 30 Tage)
JoshT_student
JoshT_student am 8 Jun. 2018
Beantwortet: Image Analyst am 8 Jun. 2018
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

Antworten (1)

Image Analyst
Image Analyst am 8 Jun. 2018
Try this:
scatter(x, y, 100, 'k', 'square', 'filled');

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by