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!

回答(1 个)

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

类别

帮助中心File Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by