How to know which pixels are covered by a plot?

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)

Similar question is answered here, check if it can help you

Asked:

on 13 Apr 2020

Answered:

on 23 Apr 2020

Community Treasure Hunt

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

Start Hunting!