How do I fill in this square?
Afficher commentaires plus anciens
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
Réponses (1)
Image Analyst
le 8 Juin 2018
Try this:
scatter(x, y, 100, 'k', 'square', 'filled');
Catégories
En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!