I figured out the prob. I was not creating a 2-D array for the multi-row plot. Also, since CWUI considers a 1-D array to be an array of 1 column, many rows, and since the X array has to be a 1-D array, I have to call the PlotXvsY function with true for a single line, and false for multiple lines.