[pstricks] pstricks exp

Herbert Voss Herbert.Voss at FU-Berlin.DE
Thu Oct 25 21:18:36 CEST 2012


Am 25.10.2012 20:46, schrieb Cyrille Piatecki:

> I wonder wy the exponential code doesn't work.
>
> \documentclass{article}
> \usepackage[T1]{fontenc}
> \usepackage{inputenc}
> \usepackage{pstricks, pstricks-add}
>
> \begin{document}
> \begin{pspicture}(-5,-5)(5,5)
>    \psgrid[griddots=20,gridlabels=0pt, subgriddiv=0, gridcolor=blue!20]
>    \psaxes(0,0)(-5,-5)(5,5)
>    \psplot[algebraic,linecolor=blue]{0}{5}{sqrt(x)}
>    \psplot[linecolor=red]{0.1}{5.0}{exp(x)}% <--- doesn't work

   \psplot[linecolor=red,algebraic]{0.1}{5.0}{Euler^x}

Herbert


> %  \rput[lb](-4.0,3.5){\footnotesize
> $S(t)=\exp{\left[(-t/\alpha)^\beta}\right]$}
>    \rput[lb](2.0,1.0){\footnotesize $\alpha=1,\beta=1.5$}
> \end{pspicture}
> \end{document}



More information about the PSTricks mailing list