Tools › Numerical Methods › Data Tools › Plot Digitizer › Example
Semi-log chart: an exponential decay read from a logarithmic y axis
| Tool | Plot Digitizer |
| Source | Original case: an illustrative capacitor discharge V = 100 e^(−t / 10) volts drawn by the tool's own script and read back; values from test_plot_digitizer.php. |
| Level | Undergraduate |
Problem
A discharge curve is plotted with time on a linear axis, 0 to 40 s, and voltage on a logarithmic axis, 1 to 100 V, where it appears as a straight line. The y axis runs from pixel (84, 372) at 1 V to (84, 44) at 100 V. A marker is picked at pixel (188, 101). Find the time and the voltage.
Inputs to Enter
- X1 at pixel (84, 372), value 0; X2 at (606, 372), value 40; x axis linear
- Y1 at pixel (84, 372), value 1; Y2 at (84, 44), value 100; y axis logarithmic
- Picked point: u = 188, v = 101
Answers
- r_x = (188 − 84) / 522 = 0.19923, so t = 0 + 0.19923 × 40 = 7.969 s
- r_y = (101 − 372) / (44 − 372) = 0.82622, so V = 1 × (100 / 1)^0.82622 = 44.92 V (the formula gives 44.93 V at 8 s)
- Last marker (606, 329): 40 s, 1.829 V (formula 1.832 V)
- One pixel is worth 0.0766 s in time and a factor of 1.0141 (1.4 %) in voltage
Notes
Open this case in the tool: /analysis-tools/numerical-methods/data-tools/plot-digitizer/?try=decay-semilog. Reading the y axis as linear would put the same point at 1 + 0.82622 × 99 = 82.8 V, nearly twice the true value: the replotted chart on the result page shows such a mistake at once, because the straight line turns into a curve.