ReadData

Helps reading data points from figures in academic and scientific publications.
480 Downloads
Updated 4 Oct 2011

View License

This code helps to read data points from plots,
first you need to calibrate this tool so that it
can convert pixel information into useful values
from the plots.
It asks you to click on the origin of the plot and
enter the (x,y) value as shown on the plot. Then,
it wants the reference points on the x and y axes,
click on the division points and enter the values.

For the x-axis division, enter the x value only,
for the y-axis division, enter the y value only.
The code assumes the origin y value for the former
and origin x value for the latter. The calibration
is important, so if you are not satisfied with your
points, exit the program. Practise makes perfect,
you can play with it until you feel comfortable.

For the plots :
Open a '.pdf' version of the document, use the
'Image Selection' or 'Snapshot' tool to copy the graph,
using an image editing software such as Photoshop or
Microsoft Imaging, save the plot as a '.jpeg', '.tiff'
or '.bmp'. '.tiff' gives the best results based on the
observations. When the code asks for a filename, enter
the full name including the '.' and the extension,
example : IVplot.jpeg

Cite As

Haldun Kufluoglu (2024). ReadData (https://www.mathworks.com/matlabcentral/fileexchange/33122-readdata), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12.1
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!
Version Published Release Notes
1.0.0.0