- #1
FEAnalyst
- 346
- 146
- TL;DR Summary
- How can I interpolate between two values on a logarithmic scale plot?
Hi,
knowing the coordinates of two points: ##(x_1,y_1)## and ##(x_2,y_2)## on a linear scale plot, I can use linear interpolation to get ##y## for a point of known ##x## using the formula below: $$y=y_1+(x−x_1) \frac{(y_2−y_1)}{(x_2−x_1)}$$
But how does it look like in the case of logarithmic scale (log-log plot)? How can I get ##y## for known ##x## when I have the coordinates of two other points? So far I haven't found any working formula for that.
Thanks in advance for your help.
knowing the coordinates of two points: ##(x_1,y_1)## and ##(x_2,y_2)## on a linear scale plot, I can use linear interpolation to get ##y## for a point of known ##x## using the formula below: $$y=y_1+(x−x_1) \frac{(y_2−y_1)}{(x_2−x_1)}$$
But how does it look like in the case of logarithmic scale (log-log plot)? How can I get ##y## for known ##x## when I have the coordinates of two other points? So far I haven't found any working formula for that.
Thanks in advance for your help.