How can I plot a few dots in matrix plot?

 Respuesta aceptada

KSSV
KSSV el 3 de Dic. de 2021
Editada: KSSV el 3 de Dic. de 2021
[X,Y] = meshgrid(1:5,1:5) ;
plot(X,Y,'*')
A = ones(5) ;
spy(A)

Más respuestas (1)

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

Categorías

Más información sobre Line Plots en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 3 de Dic. de 2021

Comentada:

el 3 de Dic. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by