I\'ve plotted two lines based on some scattered points, however, I now need to fill the area between the two lines.
counts_dataset = dataset(\'file\',\'file.txt\
Probably you have some trouble with your data. The following code does exactly what you want:
x = 1:10; y1 = sin(x) + 3; y2 = sin(x); fill([x fliplr(x)], [y2 fliplr(y1)], 'c')