How can I plot a few dots in matrix plot?

 Akzeptierte Antwort

KSSV
KSSV am 3 Dez. 2021
Bearbeitet: KSSV am 3 Dez. 2021
[X,Y] = meshgrid(1:5,1:5) ;
plot(X,Y,'*')
A = ones(5) ;
spy(A)

Weitere Antworten (1)

[X,Y] = meshgrid(6:6:24);
scatter(X, Y, 'b*')
xlim([0 30]); ylim([0 30])

Kategorien

Mehr zu Line Plots finden Sie in Hilfe-Center und File Exchange

Produkte

Tags

Gefragt:

am 3 Dez. 2021

Kommentiert:

am 3 Dez. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by