These are scatter plots. That means for each data set (observed and predicted) you need two vectors (or a matrix with two rows or columns), one for the X coordinate and one for the Y coordinate.
Have you got that?

Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!