Grab 2D points

This code is used to digitize 2d figures that you find in publications, journals, or simply scanned

You are now following this Submission

% This code is used to digitize figures that you find in publications, journals, or simply scanned reports or documents by clicking on the desired points using the mouse.
% You can use it to pick [x,y] points by clicking on the original scanned plot.
% To run, simply type:

Nassim_Grabit0

% and then follow the instructions
%
%
%
% Notes:
% 1- Plots or figures should be of jpg, png, bmp or any other format that is
% acceptable by matlab and in the same directory as these m-files you are using.
% 2- You don't have to select the points in increasing or decreasing
% order. Click wherever you want on the plot. I have written a small code
% to sort the vectors in ascending order
% 3- The [x,y] data points will be saved in GRABBED.mat. Load
% GRABBED.mat and the first column of GRABBED will be your absisca points, the second
% are the ordinates.

% This code is written by
% Nassim Khaled
% June 2007

Important:Change imshow to imagesc for people without Image Processing Toolbox.

Cite As

Nassim Khaled (2026). Grab 2D points (https://www.mathworks.com/matlabcentral/fileexchange/15966-grab-2d-points), MATLAB Central File Exchange. Retrieved .

Categories

Find more on View and Analyze Simulation Results in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

I have deleted unnecessary data from the output file.