Two line plots with data like (x1, y1) and (x2, y2) are superimposed in a chart by arranging the data in three columns as follows:
x1 | y1 |
x2 | | y2
There does not seem to be a way to smoothen only one of two lines in a chart. So yes, this means that the smooth curve will require many data points. But they can be generated with one formula, for example the following yields a plot of y = 3+2*sin(x) on the interval from 2 to 7 using the step size of 0.1 (so, 50 plot points):
=arrayformula({2+(row(Z1:Z50)-1)/10, iferror(Z1:Z50/0), 3+2*sin(2+(row(Z1:Z50)-1)/10)})
Here, row(Z1:Z50) is just a way to produce numbers 1..50. These are rescaled to fit in 2..7 by the first formula, and the same is plugged into the function in the third formula. The second is a way to make an empty column in the middle, so that the data goes in two non-consecutive columns. (This would not be necessary if the smooth chart was the one with data in consecutive columns, like x1,y1 above). The resulting line chart, using the first column as labels:
The blue line comes from numeric data (below), placed above that arrayformula.
0 3
1 1
2 4
3 1
4 5
5 9
6 2
7 6
8 5
9 3