Data in the legend scatter

1 visualización (últimos 30 días)
ido ben harosh
ido ben harosh el 19 de En. de 2021
Comentada: KSSV el 20 de En. de 2021
hello
i wanna know please how i can not include in the scatter option the data in the legend
becase when i use with this loop for example:
for i=1:boardSize %cicrle the soliders that will remove with white color
for j=1:boardSize
if Board(boardSize+1-i,j)==0
scatter(j,i,700,Board(boardSize+1-i,j),'w','Marker','o','LineWidth',5)
end
end
end
it will add to my legend every circle data 1, 2 ,3 for any finding
how can i use only with my legend without any addings
  1 comentario
KSSV
KSSV el 20 de En. de 2021
I guess you should have a look on gscatter.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Legend en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by