I would like to draw a line, between point1 and point2, also by an angle (for example 15 degrees to the axis x) on an image or matrix. I do not just want to display the line on the image (as with plot). I want to actually change the pixel values so that I can save the image and reload it with the line still there.
Thank You