How can I plot a few dots in matrix plot?

 采纳的回答

[X,Y] = meshgrid(1:5,1:5) ;
plot(X,Y,'*')
A = ones(5) ;
spy(A)

更多回答(1 个)

产品

标签

Community Treasure Hunt

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

Start Hunting!

Translated by