# Output to svg
set terminal svg enhanced size 300 300
set output "Intermediatevaluetheorem.svg"
# Configure x and y axes
unset tics
unset border
unset key
set arrow from 0,0 to 0,4
set arrow from 0,0 to 4,0
# Show the x-axis and y-axis labels
set xlabel "x"
set ylabel "y" rotate by 0
# Use lots of samples
set samples 1000
# And finally, plot the equation
plot 1.2*x**3 - 7.2*x**2 + 12.6*x - 4.4
This script gives you the axes and the curve. I added everything else in Inkscape.