j'utilise de temps en temps des figures GeoGebra que j'introduis dans des documents par l'Exportation au format PSTricks.
Pour l'ECM suivant, correspondant strictement à l'exportation obtenue, ja compilation ne marche pas :
- Code: Tout sélectionner
\documentclass[10pt]{article}
\usepackage{pstricks-add}
\pagestyle{empty}
\begin{document}
\psset{xunit=1.0cm,yunit=1.0cm,algebraic=true,dimen=middle,dotstyle=o,dotsize=5pt 0,linewidth=1.6pt,arrowsize=3pt 2,arrowinset=0.25}
\begin{pspicture*}(-0.4452824215189365,-0.7411469150172627)(7.246465518009082,2.4132981803152633)
\psaxes[labelFontSize=\scriptstyle,xAxis=true,yAxis=true,Dx=1.5707963267948966,Dy=1.,ticksize=-2pt 0,subticks=2]{->}(0,0)(-0.4452824215189365,-0.7411469150172627)(7.246465518009082,2.4132981803152633)
\psplot[linewidth=1.6pt,linecolor=red,plotpoints=200]{-0.4452824215189365}{7.246465518009082}{2.718281828459045^(-x)*COS(x)}
\psplot[linewidth=1.6pt,linecolor=blue,plotpoints=200]{-0.4452824215189365}{7.246465518009082}{2.718281828459045^(-x)}
\rput[tl](2.269452145373305,1.4446604944757806){$\red{C_f\colon x\mapsto e^{-x}\cos{(x)}}$}
\rput[tl](2.4606306359995194,0.9730868842644534){$\blue{C_g\colon x\mapsto e^{-x}}$}
\begin{scriptsize}
\psdots[dotstyle=*,linecolor=blue](0.,0.)
\rput[bl](0.026291188692391877,0.06180274561283482){\blue{$O$}}
\psdots[dotstyle=*,linecolor=blue](1.,0.)
\rput[bl](1.0267919563029129,0.06180274561283482){\blue{$I$}}
\psdots[dotstyle=*,linecolor=blue](0.,1.)
\rput[bl](0.026291188692391877,1.0623035132233531){\blue{$J$}}
\end{scriptsize}
\end{pspicture*}
\end{document}
Dans le fichier log, Latex indique :
! Number ...