Matlab script for digitizing a published graph

version (1.92 KB) by Rex Cheung
This function lets users digitize a published graph that is saved as a image e.g. jpeg.


Updated 29 May 2012

View License

User needs to load the image into matlab workspace before running this program.
User needs to provide the name of the image, and the number of data points to be digitized. The user will be asked to indicate on the image the pixel position corresponds to the origin, a value on x axis and a value on y axis. These are used to scale the user selected data points.

usage exampe:digitizeGraph(testGraph,3);

Cite As

Rex Cheung (2022). Matlab script for digitizing a published graph (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
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!