Plot Digitizer for MATLAB
Version 1.0.5 (829 KB) by
Seongmun Jung
You can digitize a graph using this code
/**************************************************************************/
This code is currently working on MATLAB 2023a
/**************************************************************************/
Digitize a graph with this code.
You can extract data manually or automatically based on the pixel color.
The interface is using the dialogue functions provided by MATLAB (e.g., listdlg, inputdlg, ...)
How to use
- Run the code by executing Main.m
- Open the image
- Calibrate axis by setting two reference x points and two y points
- You can calibrate the axis from the file
- Once you calibrate the axis, the calibration result is save as file "calibration_last.axis"
- Ditigize your data manually or automatically
- If you want to add or remove some data, use the menu 'Acquire data manually'
- Your data are stored in the variable named 'data'
P.S.
Log scale is not provided.
If you want to digitize a log scaled graph, you'll want to do it mathematically.
Calibrate x and y graph with the log value of x and y, digitize it via this code, and apply the exponential function to the data you obtained.
Cite As
Seongmun Jung (2024). Plot Digitizer for MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/97322-plot-digitizer-for-matlab), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2023a
Compatible with R2023a
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
functions
Version | Published | Release Notes | |
---|---|---|---|
1.0.5 | 'Compatible with' information updated |
||
1.0.4 | 1.0.4: CLI is changed to the DI (Dialogue Interface) |
||
1.0.3 | I found this code is not compatible with the current version of MATLAB
|
||
1.0.2 | 1.0.2: Now you can open an image file whether they are in the current folder or not |
||
1.0.1 | Tag added |
||
1.0.0 |