MATLAB: How to save a plot on an image in a variable

image processing

Hi all,
I have plotted some stuff on an image and now I would like to save it in a variable so I can apply more methods on the image.I looked online for an answer but I didn't find the answer that I am looking for.
Can anyone please help me Thanks in advance 🙂

Best Answer