If they're close, I don't know why they' be quite overlapped unless you used a marker and the marker was too big. Try a smaller marker:
plot(x, y, 'b.-', 'MarkerSize', 5);
or don't use a marker at all
plot(x, y, 'b-');
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!