File: steps.dem

package info (click to toggle)
gnuplot 4.6.0-8
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 16,920 kB
  • sloc: ansic: 84,661; cpp: 6,631; lisp: 5,013; makefile: 2,129; sh: 1,092; objc: 647; asm: 539; perl: 298; awk: 235; pascal: 194; csh: 179; tcl: 88; python: 46
file content (37 lines) | stat: -rw-r--r-- 1,244 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#
# $Id: steps.dem,v 1.5 2003/10/17 15:02:21 mikulik Exp $
#
# This file will serve as the datafile used in demonstrating the 
# "plot with steps" option.   Here is a gnuplot input file
# which uses "plot with steps", inverse error function, normal
# distribution function, and the inverse normal distribution
# function.

set title "Compare steps, fsteps and histeps"
plot [0:12][0:13] "steps.dat" notitle with points,  \
 "steps.dat" title 'steps' with steps, \
 'steps.dat' title 'fsteps' with fsteps, \
 'steps.dat' title 'histeps' with histeps

pause -1 "Hit return for demonstration of automatic histogram creation"
set title "Histogram built from unsorted data by 'smooth frequency'"
set ylabel 'counts per bin'
set xlabel 'bins'
plot 'hemisphr.dat' u (floor($1*20)):(1) smooth frequency with histeps
unset xlabel
unset ylabel

pause -1 "Hit return for normal distribution function."
set title "Normal Distribution Function"
plot [-3:3][0:1] norm(x)

pause -1 "Hit return for inverse error function."
set title "Inverse Error Function"
plot [-1:1] inverf(x)

pause -1 "Hit return for inverse normal distribution function."
set title "Inverse Normal Distribution Function"
plot [0:1] invnorm(x)

pause -1 "Press return to continue"
reset