File: monotonic_spline.dem

package info (click to toggle)
gnuplot 5.4.1%2Bdfsg1-1%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 13,316 kB
  • sloc: ansic: 85,877; cpp: 7,440; makefile: 2,548; javascript: 2,322; sh: 1,542; lisp: 667; perl: 304; pascal: 191; tcl: 88; python: 46
file content (19 lines) | stat: -rw-r--r-- 503 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
set title "Monotonic cubic splines"

set style data lines
set xrange [ 233. : 388. ]
set yrange [ 1.75 : 32.0 ]

plot 'silver.dat' using 1:2 with points pt 7 ps 2 lc "grey" title 'raw data', \
               '' using 1:2 smooth csplines lt 1 title 'smooth cspline', \
               '' using 1:2 smooth mcs lt 3 title 'smooth mcs'

pause -1 "Hit <cr> to continue"

set title "Monotonic cubic splines (log-scale data)"
set log y
set ytics (1,2,3,4,5,10,20)
refresh

pause -1 "Hit <cr> to continue"
reset