Plot Digitizer for MATLAB

You can digitize a graph using this code
3,2K Downloads
Aktualisiert 17. Jul 2023

Lizenz anzeigen

/**************************************************************************/
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
  1. Run the code by executing Main.m
  2. Open the image
  3. Calibrate axis by setting two reference x points and two y points
  4. You can calibrate the axis from the file
  5. Once you calibrate the axis, the calibration result is save as file "calibration_last.axis"
  6. Ditigize your data manually or automatically
  7. If you want to add or remove some data, use the menu 'Acquire data manually'
  8. 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.

Zitieren als

Seongmun Jung (2024). Plot Digitizer for MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/97322-plot-digitizer-for-matlab), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2023a
Kompatibel mit R2023a
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
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
Maybe, I will fix this issue later if I have some free time

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