Extract X and Y data points from a plot

Open the figure, run the script, and get back your plotted data points.

Vous suivez désormais cette soumission

Often times, you would have plotted some data and deleted them, but would have saved your figure file. How do you get back the data points from the figure? Open the figure, run this script, and you will have your X and Y data points in your workspace

Citation pour cette source

Kevin Michael (2026). Extract X and Y data points from a plot (https://fr.mathworks.com/matlabcentral/fileexchange/55198-extract-x-and-y-data-points-from-a-plot), MATLAB Central File Exchange. Extrait(e) le .

Catégories

En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Help Center et MATLAB Answers

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.2.0.0

Added comments

1.1.0.0

Updated for 3D plots

1.0.0.0