% plotsln.m % Used to plot an explicit solution to an ODE. Solution is defined via % INIT.M. (Can actually be used to plot any function defined in terms of % the independent variable t axis(ax); plotN=50; t=ax(1):(ax(2)-ax(1))/(plotN-1):ax(2); ttemp=t; xmin=x0; xmax=x0; tf=ax(2); t=tf; if eval(ftxsln)>-inf xmin=min([x0,eval(ftxsln)]); if eval(ftxsln)-inf if xmin>min(ftxslnplot) xmin=min(ftxslnplot); end end if max(ftxslnplot)