I have data in Mathematica that comes from y-log scale
Data = {{5.0, 23.87548081003781},
{6.94392523364486, 0.511639358262082},
{8.925233644859812, 0.23397526329810545},
{10.962616822429906, 0.16190746961888203},
{12.906542056074766, 0.17751810380557045},
{14.925233644859812, 0.25653445869951874}};
These points should be connected by straight line on log scale like this
ListLogPlot[Data, Joined -> True]
I want to find interpolated function with straight lines on log plot(just like above code), however naive result gives me:
LogPlot[Interpolation[Data, InterpolationOrder -> 1][x], {x, 5, 14}]
which does not have straight lines on logPlot, it has straight lines on Plot.
How can I interpolate data on log plot?
InterpolationOrder
withListLogPlot
likeListLogPlot[Data, Joined -> True, InterpolationOrder -> 3]
$\endgroup$ – Sumit Jul 9 '17 at 9:11if = Exp@*Interpolation[{#1, Log[#2]} & @@@ Data, InterpolationOrder -> 1]
thenLogPlot[if[x], {x, 5, 14}]
$\endgroup$ – Quantum_Oli Jul 9 '17 at 9:47