Calibrate two points per axis · click or trace by colour · CSV

Plot Digitizer

Turn a chart image into numbers. Mark two known positions on each axis (linear or logarithmic), then click points one by one with a magnified loupe, or pick a curve's colour and let the page trace it or find its markers.

Chart image

A plot from a paper, report or screenshot

Drop a chart here, paste, or click to choose

PNG, JPG, WEBP, GIF or BMP, up to 25 MB. Pictures over 3000 px on the long side are scaled down.

Plot Digitizer

Operator: Abdulla Al Fahad. How tools are built and checked

A decay curve in a 2009 paper is a picture, and the author's data is nowhere to be found. Digitizing recovers numbers from it: mark where two known values sit on each axis, and every other position on the chart converts to a data value. A pixel at (200, 150) on a chart whose x axis runs 0 to 10 over 300 pixels and whose log y axis runs 1 to 1000 over 200 pixels reads as x = 5 and y = 31.62.

You can click points one by one, with a magnified loupe for exact placement, or pick the curve's colour and let the page walk along it or find the centre of every marker.

Key features

  • Two reference points per axis, each axis linear or logarithmic, with validation of spacing, equal values and non-positive log values
  • An 8x loupe that follows the pointer, plus zoom up to 400%, dragging of placed points and arrow-key nudging
  • Trace a curve by colour (one point per sampled column) or find marker centres as blobs of that colour
  • A search rectangle that leaves out legends and axis labels sharing the curve's colour
  • Up to six named series, 5,000 points per trace, 20,000 in total, and a CSV with series, x, y and pixel position

How pixels become data values on linear and log axes

Each axis is defined by two pixel positions and the values there. A point is described as a mix of the two axis directions: the X value comes from how far the point sits along the X reference line measured parallel to the Y axis, and the Y value the same way the other direction, giving x1 + t(x2 - x1) or, for a log axis, 10^(log10 x1 + t(log10 x2 - log10 x1)). Because both directions are solved together, a scan skewed by several degrees, or a reference click that slipped a few pixels off the true axis, still reads correctly. The page refuses the calibration when the two axis lines are more than about 15 degrees from perpendicular, which usually means a reference point was clicked on the wrong axis.

Colour tracing compares each pixel with the picked colour by CIE76 distance in Lab space, so a tolerance of about 2.3 is a just-noticeable difference and anti-aliased line edges need 20 or more. Curve mode samples a column every N pixels, pooled with its neighbours, and keeps the run of matching pixels closest to the previous point so a second curve of similar colour is less likely to hijack the trace. Marker mode labels connected blobs and returns their centres, skipping blobs below your minimum size or larger than a quarter of the search area.

Common use cases

  • A student reads a log-scale decay curve: X reference points at pixels 50 and 350 for values 0 and 10, Y at pixels 250 and 50 for 1 and 1000. Tracing every 10 pixels gives about 30 rows ready for an exponential fit.
  • A researcher with a scatter plot of 80 red circles picks one circle's colour, switches to markers with a minimum of 12 pixels, and gets 80 centres, then deletes the two that belong to the legend.

How to use this tool

  1. Choose each axis scale, type the values at two tick marks per axis, press Place and click exactly on each tick using the loupe.
  2. Add points by clicking on the chart, or pick the curve colour, optionally draw a search area, and press Trace.
  3. Review the values table, nudge or delete stray points, and download the CSV.
  4. For a second curve, add a series and trace it the same way.

Example

Calibration and three clicked pixels

X axis: pixel (50, 250) = 0 and (350, 250) = 10, linear
Y axis: pixel (50, 250) = 1 and (50, 50) = 1000, logarithmic
Pixels: (125.5, 214), (200, 150), (275, 100)

Data values

(125.5, 214) reads x = 2.517, y = 3.467
(200, 150) reads x = 5, y = 31.62
(275, 100) reads x = 7.5, y = 177.8

Tips for best results

  • Use tick marks near the ends of each axis. A click error of 2 pixels on a 300-pixel baseline moves a mid-chart reading by about 0.7 percent, but on a 30-pixel baseline it moves it by 7 percent.
  • When two curves share a hue, draw the search area to cover one curve's region and trace into separate series, rather than raising the tolerance until they merge.
  • Dashed lines leave gaps in curve mode; the trace carries on at the next match, so set the spacing larger than the dash gap and check the table for jumps.

Common pitfalls

Reference ticks that are not at the values you typed are the main source of error. Check the axis labels twice, especially on log axes where tick labels are easy to misread by a decade.

The chart is read as a flat picture. A photographed page with perspective or a curled corner needs straightening first, because one linear scale per axis cannot undo it.

Common errors and how to fix them

"The two Y reference points are less than 8 pixels apart"
Pick ticks far apart on the axis, ideally near its two ends, so the scale is well determined.
"A logarithmic Y axis needs positive values at both reference points"
Log scales cannot contain zero or negatives. Type the tick values as shown on the axis, such as 1 and 1000.

Frequently asked questions

How precise are the numbers?

Precision is set by the picture's resolution and your calibration clicks. On a 300-pixel axis spanning 10 units, one pixel is about 0.033 units, and the trace samples at pixel resolution, so expect an error of one or two pixels in each direction.

Can it read a bar chart?

Click the top of each bar and read the value from the Y axis. Marker mode is meant for dots and symbols, not for the flat tops of bars.

What does the CSV contain for uncalibrated points?

The x and y columns are empty and pixel_x and pixel_y hold the positions, so you can calibrate later in a spreadsheet if you note the reference pixels.