find and plot in a x-y graph the pixels allong the red line

1 view (last 30 days)
hello everyone does anyone know how can i find and plot in a x-y graph the pixel values along the red line in the next pic?

Accepted Answer

Jan on 29 Mar 2021
Jan on 30 Mar 2021
Why do you want to store the output of improfile in the the same array as the handles of the image and the line produced by plot? Their outputs are graphic handles, the output of improfile is numerical. Use this insteead:
result = improfile

Sign in to comment.

More Answers (0)


Find more on Visual Exploration in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!