Tools › Numerical Methods › Data Tools › Plot Digitizer › Example
Reading a log-log fatigue S-N chart: pixels to values with both axes logarithmic
| Tool | Plot Digitizer |
| Source | Original case: an illustrative S-N line S = 900 N^−0.085 MPa drawn by the tool's own script (make_samples.php) and read back; values from test_plot_digitizer.php. |
| Level | Undergraduate |
Problem
A 640 × 440 pixel picture shows a fatigue S-N line on log-log axes: cycles from 1,000 to 10,000,000 across, stress amplitude from 100 to 1,000 MPa up. The ends of the x axis are at pixels (84, 372) and (606, 372), the ends of the y axis at (84, 372) and (84, 44), with v measured downward. A marker on the line is picked at pixel (84, 143). What stress does it show, and how much is one pixel worth?
Inputs to Enter
- X1 at pixel (84, 372), value 1,000; X2 at (606, 372), value 10,000,000; x axis logarithmic
- Y1 at pixel (84, 372), value 100; Y2 at (84, 44), value 1,000; y axis logarithmic
- Picked point: u = 84, v = 143 (nine markers in all, the last at (606, 254))
Answers
- Axis directions d_X = (522, 0), d_Y = (0, −328) pixels; cross product C_xy = 522 × (−328) − 0 = −171,216
- r_x = 0 (the point is at X1); r_y = 522 × (143 − 372) / (−171,216) = 0.69817 of the way from Y1 to Y2
- x = 1,000 × (10,000,000 / 1,000)^0 = 1,000 cycles; y = 100 × (1,000 / 100)^0.69817 = 499.1 MPa (the line drawn is 500.3 MPa there)
- Last marker (606, 254): 10,000,000 cycles, 229 MPa (drawn: 228.7 MPa)
- One pixel is worth a factor of 1.0178 (1.8 %) in cycles and 1.0070 (0.7 %) in stress
Notes
The tool opens on this case; press Submit, or open /analysis-tools/numerical-methods/data-tools/plot-digitizer/?try=sn-loglog. On a logarithmic axis the reading error is a constant percentage, so a one-pixel slip costs 1.8 % in life anywhere along the axis. The sample chart is illustrative, not test data.