I'm trying to compile an example from the pstricks-add documentation. In particular I'm trying to plot a curve with a tangent and normal vector at a given point. The example is on page 44 of the documentation, here is the code
Code: Select all
\begin{pspicture}(-0.5,-0.5)(7.25,7.25)
\def\Func{10 x div}
\psaxes[arrowscale=1.5]{->}(7,7)
\psplot[linewidth=2pt]{1.5}{5}{\Func}
\psplotTangent[linewidth=1.5\pslinewidth,
linecolor=red]{3}{2}{\Func}
\psplotTangent[linewidth=1.5\pslinewidth,
linecolor=blue,Tnormal]{3}{2}{\Func}
\psline[linestyle=dashed](!0 /x 3 def \Func
)(!3 /x 3 def \Func)(3,0)
\end{pspicture}
Any ideas why this could be happening?
TAI