I am doing data analysis and am trying to plot a data set of y over x with area() and then plot a line of moving avg of y over x with plot() on the same axis. currently it doesn't work. Meaning i get the second graph vs. both at the same time.
Has anyone come up with a solution for this?
y1 = B57(x,2);
Avg1 = movmean(y1,7)