Source de exemple1.tex
Fichier 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}
\begin{pspicture}(-10,-3)(10,3)%\psgrid
  \psplot{-10}{10}{\F}
  \psset{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.07s - 3781940 - 21 novembre 2008) vers le haut