Source de exemple4.tex
Image PNG
\def\F{x 3.1415926 div 180 mul dup dup cos exch 2 mul cos add exch 3 mul cos add}
\psset{plotpoints=1001}
\def\DerivF{x 3.1415926 div 180 mul dup dup sin exch 2 mul sin 2 mul add exch 3 mul sin 3 mul add neg}
\begin{pspicture}(-10,-3)(10,3)%\psgrid
  \psplot{-10}{10}{\F}
  \psset{Derive=\DerivF, linecolor=red, arrows=<->}
  \psplottangent{0}{1}{\F}
  \psplottangent{1}{1}{\F}
  \psplottangent{2}{1}{\F}
  \psplottangent{3}{1}{\F}
  \psplottangent{4}{1}{\F}
  \psplottangent{5}{1}{\F}
  \psplottangent{-1}{1}{\F}
  \psset{linecolor=green, arrowscale=3}
  \psplottangent{-2}{3.14}{\F}
  \psplottangent{-3.1415926}{.5}{\F}
\end{pspicture}

 

Validation CSS Validation XHTMLSyracuse — Dernière modification : 13 juin 2004 (0.08s - 3208513 - 5 juillet 2008) vers le haut