[pstricks] inverse standard normal
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Wed Sep 29 19:54:19 CEST 2010
Am 29.09.2010 13:12, schrieb Matthias Ruess:
> @Michael: Thank you for your help. The precision is good enough for my
> intention
>
> @Herbert: I think I have solved the problem. The plot looks pretty nice
> :-)
> Is it possible for you to include a norminv operator/function in some of
> your pstricks packages? I think there are lots of users who would like to
> use this function
with the current pst-math.pro (loaded by package pst-math) you can
write
\documentclass[a4paper]{article}
\usepackage{pst-plot,pst-math}
\begin{document}
\psset{xunit=5}
\begin{pspicture}(0,-3)(1,4)
\psaxes{->}(0,0)(0,-3)(1,4)
\psplot[plotpoints=200,algebraic,linecolor=red]{0}{0.9999}{norminv(x)}
\psplot[plotpoints=200,algebraic,linecolor=blue]{0}{0.9999}{vasicek(x)}
\end{pspicture}
\end{document}
and get the attached.
http://texnik.dante.de/dvips/pst-math/
Herbert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x.png
Type: image/png
Size: 3260 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20100929/1aff81e8/attachment.png>
More information about the PSTricks
mailing list