Back to demo index

gnuplot demo script: monotonic_spline.dem

autogenerated by webify.pl on Sun Sep 17 20:23:19 2023
gnuplot version gnuplot 6.0 patchlevel rc2
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'


Click here for minimal script to generate this plot



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


Click here for minimal script to generate this plot


reset