One way is to negate your x axis, interpolate to get f[x]
, and then use f[-x]
.
Example:
valList = {{0, 1}, {1, 3}, {2, 5}, {3, 2}, {4, 0}, {5, -1}};
if = Interpolation[valList, InterpolationOrder -> 0];
Plot[if[x], {x, 0, 5}]
But what (I think) you want is this.
if2 = Interpolation[Map[{-1, 1}*# &, valList],
InterpolationOrder -> 0];
Plot[if2[-x], {x, 0, 5}]