Date: 12 September 2013

x

y

xmin = -1
xmax = 5
ymin = -1
ymax = 5
f(x) = 0.7 * (x - 1) * (x - 2) * (x - 4) + x
fxmin = -1.0E100
fxmax = 1.0E100
g = Function(f, fxmin, fxmax)
xsubscriptdisplayed = If(Length[xsubscript] > 0, "_{" + xsubscript + "}", "")
ysubscriptdisplayed = If(Length[ysubscript] > 0, "_{" + ysubscript + "}", "")
ylabeldisplayed: "" + (LaTeX[ylabel]) + "" + (LaTeX[ysubscriptdisplayed]) + ""
xlabeldisplayed: "" + (LaTeX[xlabel]) + "" + (LaTeX[xsubscriptdisplayed]) + ""
xlabelwithsub: "" + (LaTeX[xlabel]) + "" + (LaTeX[xsubscriptdisplayed]) + ""