Plot data on top of an image

Say you downloaded a plot (as an image) from a journal publication. You can plot your results/data on the downloaded image using this script

Download
Download

You are now following this Submission

Cite As

Ravi Kumar Pallantla (2026). Plot data on top of an image (https://in.mathworks.com/matlabcentral/fileexchange/115950-plot-data-on-top-of-an-image), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.2

Minor changes in comments and renaming some of the variables. One change in the code :"wth = width_of_square - 1" changed to "wth = width_of_square".

Download
1.0.1

Added display picture, that shows a sample output.

Download
1.0.0

Download