Plot pixels from 2D boolean array
이전 댓글 표시
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?
채택된 답변
추가 답변 (2개)
Radhika Kulkarni
2019년 11월 30일
0 개 추천
댓글 수: 1
Stephan
2019년 11월 30일
On File Exchange there are also tools to create gif animations. Maybe you want to use this.
카테고리
도움말 센터 및 File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!