Plot[Dt[Sin[x], x], {x, -5, 5}]
So this gets a General::ivar error, which confused me for a while, then I figured out why.
Plot applies a value to x before Dt is evaluated, which makes the second x a value, not a variable.
Any ideas on how to fix this?
Edit: Found a way:
Plot[Dt[Sin[#],#]&[x],{x,-5,5}]
Edit2: No I didn't
Edit3: Now I did
Plot[Dt[Sin[a], a] /. a -> x, {x, -5, 5}]