Back to demo index

gnuplot demo script: monotonic_spline.dem

autogenerated by webify.pl on Fri Dec 20 14:47:09 2024
gnuplot version gnuplot 6.0 patchlevel 2
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