[pstricks] Controlling Curve Shape

Herbert Voss LaTeX at zedat.fu-berlin.de
Tue Oct 11 15:09:43 CEST 2005


Rich Shepard wrote:
>   I would like to learn how to control the shape of curves in my plots. 
> Below
> is an example of a simple plot, but the curve is too steep and does not 
> have
> an asymptotic end (on the right) of 1.0. I've tried changing the points, 
> but
> I keep making it look worse and worse.
> 
>   What is the proper approach to creating a curve that looks like the left
> side of a normal distribution curve? How would I create a set of partially
> overlapping normal curves on a pair of axes -- other than by trial and 
> error?

try \psecurve
\psecurve[linecolor=red, linewidth=1.5pt]%
      (-1,0)(0.5,0)(2,0.5)(3.2,3.4)(7,4)(7.2,4)

it take the first and last point into account but doesn't draw a
line from to these points.

a better solution maybe the logistic function

Herbert




More information about the PSTricks mailing list