[pstricks] pstricks exp

Cyrille Piatecki cyrille.piatecki at univ-orleans.fr
Thu Oct 25 20:46:54 CEST 2012


Dear all,

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
%  \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}

Thanks for any help

Cyrille Piatecki


More information about the PSTricks mailing list