2 # $Id: steps.dem,v 1.5 2003/10/17 15:02:21 mikulik Exp $
4 # This file will serve as the datafile used in demonstrating the
5 # "plot with steps" option. Here is a gnuplot input file
6 # which uses "plot with steps", inverse error function, normal
7 # distribution function, and the inverse normal distribution
10 set title "Compare steps, fsteps and histeps"
11 plot [0:12][0:13] "steps.dat" notitle with points, \
12 "steps.dat" title 'steps' with steps, \
13 'steps.dat' title 'fsteps' with fsteps, \
14 'steps.dat' title 'histeps' with histeps
16 pause -1 "Hit return for demonstration of automatic histogram creation"
17 set title "Histogram built from unsorted data by 'smooth frequency'"
18 set ylabel 'counts per bin'
20 plot 'hemisphr.dat' u (floor($1*20)):(1) smooth frequency with histeps
24 pause -1 "Hit return for normal distribution function."
25 set title "Normal Distribution Function"
26 plot [-3:3][0:1] norm(x)
28 pause -1 "Hit return for inverse error function."
29 set title "Inverse Error Function"
32 pause -1 "Hit return for inverse normal distribution function."
33 set title "Inverse Normal Distribution Function"
36 pause -1 "Press return to continue"