Why do I get a smooth curve (that is obviously wrong) when I run this?
Plot[
Evaluate[
NDSolveValue[{x'[t] == -x[t], x[0] == 1}, {x[t]}, {t, 0, 1},
StartingStepSize -> 1, Method -> {"FixedStep", Method -> "ExplicitEuler"}]],
{t, 0, 1},
PlotRange -> All]
Shouldn't I just get back a straight line connecting (0, 1) to (1, 0)?!
How do I make Mathematica just do a plain classic Forward Euler?! I don't want fancy smoothing...

sol1 = Interpolation[Table[{t, sol}, {t, Flatten[sol /. t -> "Grid"]}], InterpolationOrder -> 1]. – Michael E2 Feb 15 '16 at 02:57sol = Evaluate[ NDSolveValue[{x'[t] == -x[t], x[0] == 1}, x[t], {t, 0, 1}, StartingStepSize -> 1, MaxStepFraction -> 1, Method -> {"FixedStep", Method -> "ExplicitEuler"}]]; sol = Interpolation[Table[{t, sol}, {t, Flatten[sol /. t -> "Grid"]}], InterpolationOrder -> 1][t]; Plot[sol, {t, 0, 1}, PlotRange -> All]. – user541686 Feb 15 '16 at 03:03{x[t], x'[t]}). – user541686 Feb 15 '16 at 03:06ListLinePlot[sol = NDSolveValue[{x'[t] == -x[t], x[0] == 1}, x, {t, 0, 1}, StartingStepSize -> 1, Method -> {"FixedStep", Method -> "ExplicitEuler"}, MaxStepFraction -> 1]], even thoughsolis still order 3.ListPlotandListLinePlotshow only the steps, or interpolated points, in anInterpolatingFunction. – Michael E2 Feb 15 '16 at 03:30NDSolveValue[{x'[t] == -x[t], x[0] == 1}, {x[t], x'[t]}, {t, 0, 1}]? ThenFlattenwill do the wrong thing. – user541686 Feb 15 '16 at 03:54InterpolationOrder -> 1option inNDSolve. Apparetnly this is ignored andInterpolatingFunctionis of order 3... – mmal Feb 15 '16 at 14:05InterpolationOrder -> 0generates an error; everything else seems ignored.InterpolationOrder -> Allis the only setting shown in the docs, and it seems to do something rather interesting (too long for a comment). – Michael E2 Feb 15 '16 at 21:21