% plotxytf.m function p=plotxytf(x1func,x2func,t0,tf,linetype,plotxlabel) % Used by SYS3PLOT.M with PPLANE2F.M to plot user-derives solution(s) to an % ODE system overlayed on a phase plane plot. plotN=50; x1min=0; x2min=x1min; x1max=1; x2max=x1max; t=t0:(tf-t0)/(plotN-1):tf; ttemp=t; t=tf; if eval(x1func)>-inf x1min=eval(x1func); if eval(x1func)-inf if x1min>min(x1funcplot) x1min=min(x1funcplot); end end if max(x1funcplot)-inf x2min=eval(x2func); if eval(x2func)-inf if x2min>min(x2funcplot) x2min=min(x2funcplot); end end if max(x2funcplot)