[pstricks] Plotting Dichtefunktion

Juergen Gilg gilg at acrotex.net
Tue Aug 11 20:21:13 CEST 2009


Dear Ulrich,
>
> I am trying to make a plot of the Dichtefunktion (1/2 pi * e^(-.5x^2)) 
> in pstricks.
>
> Where do I find the syntax for the UPN? Is pi and e implemted as a 
> constant?
>
there is a wonderful optional parameter named _algebraic_ where you can 
use the algebraic expression and no Reverse Polish Notation is needed.

\psplot[algebraic]{-2.5}{2.5}{1/2*Pi*Euler^(-1/2*x^2)}

Pi and e are implemented as constants -- use them as above mentioned.

Hope that helps.

Regards,

Juergen


-- 

 Jürgen Gilg
 Austr. 59
 70376 Stuttgart
-------------------------------------
 Tel       0711.59 27 88
 e-Mail    gilg at acrotex.net




More information about the PSTricks mailing list