Well, we can't try to duplicate because you forgot to attach the data files to go with it...what symptoms do you have--errors, unexpected plot appearance, ...???
Not much to go on here.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!