Watch this Author's files
I was able to take the xlims and adjust that section of code to work for my program and fix the limits on the y axis I needed, Thanks.
Contact us at files@mathworks.com