Plot pixels from 2D boolean array
Mostrar comentarios más antiguos
I have a 2D boolean array stored 0s and 1s where I want to plot a red pixel. For example, If the 2D boolean array has 1 for (20, 20) location, it should plot a red pixel at that location. Else, it is has 0, it should not plot the red pixel.
Can someone help me?
1 comentario
Radhika Kulkarni
el 30 de Nov. de 2019
Respuesta aceptada
Más respuestas (2)
Radhika Kulkarni
el 30 de Nov. de 2019
0 votos
1 comentario
Stephan
el 30 de Nov. de 2019
On File Exchange there are also tools to create gif animations. Maybe you want to use this.
Radhika Kulkarni
el 2 de Dic. de 2019
0 votos
Categorías
Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!