[pstricks] Plotting Dichtefunktion

Ulrich Bongartz u.bongartz at freenet.de
Tue Aug 11 20:29:16 CEST 2009


Hi Jürgen,

yes - thx, it helped I messed the function (1/sqrt(2*pi) * ...) but  now I 
know where to look further :-)

Ulrich

----- Original Message ----- 
From: "Juergen Gilg" <gilg at acrotex.net>
To: "Graphics with PSTricks" <pstricks at tug.org>
Sent: Tuesday, August 11, 2009 8:21 PM
Subject: Re: [pstricks] Plotting Dichtefunktion


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


_______________________________________________
PSTricks mailing list
PSTricks at tug.org
http://tug.org/mailman/listinfo/pstricks



More information about the PSTricks mailing list