Here you are mixing base R plot() with ggplot2 functions, you can't do that, you have to choose one ploting system or the order, they can't be mixed.
You would get a better and more accurate plot by using the date variable instead of the row number, to help us help you, could you please turn this into a proper reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one: