# set terminal png transparent nocrop enhanced font arial 8 size 420,320 # set output 'spline.1.png' set grid nopolar set grid xtics nomxtics ytics nomytics noztics nomztics \ nox2tics nomx2tics noy2tics nomy2tics nocbtics nomcbtics set grid layerdefault set key right top Right noreverse noinvert enhanced box linetype -1 linewidth 1.000 samplen 4 spacing 1 width 0 height 0 autotitles set title "The cubic Monomial basis functions" 0.000000,0.000000 font "" set xrange [ 0.00000 : 1.00000 ] noreverse nowriteback set yrange [ -0.200000 : 1.40000 ] noreverse nowriteback m0(x) = 1 m1(x) = x m2(x) = x**2 m3(x) = x**3 plot m0(x), m1(x), m2(x), m3(x)