size 10 8 set texlabels 1 begin graph title "Square root function" xtitle "$x$" ytitle "$\sqrt{\alpha x}$" xaxis min 0 max 10 yaxis min 0 max 10 end graph for alpha = 1 to 10 amove 0 0 begin graph xaxis min 0 max 10 off yaxis min 0 max 10 off let d1 = sqrt(alpha*x) d1 line color rgb(alpha/10,0,0) end graph set just lc hei 0.25 amove xg(xgmax)+0.1 yg(sqrt(alpha*10)) tex "$\alpha = "+format$(alpha, "fix 0")+"$" next alpha