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 个)

类别

帮助中心File Exchange 中查找有关 Line Plots 的更多信息

产品

标签

Community Treasure Hunt

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

Start Hunting!

Translated by