MATLAB Answers

How to know which pixels are covered by a plot?

1 view (last 30 days)
leleju
leleju on 13 Apr 2020
Answered: SaiDileep Kola on 23 Apr 2020
Hi, I plotted a few curves on a 512 x 512 figure (each curve has 32 points). How could I know which pixels are covered with the curves and which are not, i.e. I need a mask to tell the exact positions of the curves.
Thank you very much!

Answers (1)

SaiDileep Kola
SaiDileep Kola on 23 Apr 2020
Similar question is answered here, check if it can help you

Community Treasure Hunt

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

Start Hunting!

Translated by