View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Matlab script for digitizing a published graph

1.0 | 1 rating Rate this file 11 Downloads (last 30 days) File Size: 1.92 KB File ID: #36904 Version: 1.0
image thumbnail

Matlab script for digitizing a published graph


Rex Cheung (view profile)


This function lets users digitize a published graph that is saved as a image e.g. jpeg.

| Watch this File

File Information

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);

Required Products MATLAB
MATLAB release MATLAB 7.13 (R2011b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
06 Apr 2016 Valentyn Stadnytskyi

??? Error using ==> image
Error using ==> image
Numeric or logical matrix required for image CData

Error in ==> imagesc at 19
hh = image(varargin{1},'CDataMapping','scaled');

Error in ==> digitizeGraph at 13

07 Apr 2015 shau vaingast

An easier approach would be to use a free standalone program for the job. See im2graph is free and available for Windows and Linux.

Comment only
17 Jan 2015 Naveen Kallanagoudar


Comment only

Contact us