MATLAB: Show derivatives vector on a plot.

derivativedirectionhermiteinterpolationplotpoint

I've a curve plotted by the command plot(xx,oo) where xx and oo are coefficients obtained with Hermite interpolation method.
Now i want to show a little vector corresponding of some points (that i know) on the curve, that shows the derivative direction in these points.
Thank you

Best Answer

Just use arrow or arrow3 with start-point at the corresponding point and end [dx,dy] away.