Plot data on top of an image

version 1.0.1 (2.45 KB) by Ravi Kumar Pallantla
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


Updated Sat, 06 Aug 2022 15:55:50 +0000

View License

Using this script, you can plot your data on top of an image. The diplay picture of this thread shows a sample output.
The script works even when the axes scaling is 'log'.
The script works only for 2D rectangular plots.
There are 5 steps in the script. The steps are very well commented. In case, you still need help, type your question in the discussion tab.

Cite As

Ravi Kumar Pallantla (2022). Plot data on top of an image (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!