我想画出这些表达式
-
\frac1{2\pi}\int_{-\pi}^\pi{f(x)}dx+\sum_{n=1}^2\left[\left(\frac1\pi\int_{-\pi}^\pi{f(x)}\cos(nx)dx\right)\cos(nx)+\left(\frac1\pi\int_{-\pi}^\pi{f(x)}\sin(nx)dx\right)\sin(nx)\right]
-
\frac1{2\pi}\int_{-\pi}^\pi{f(x)}dx+\sum_{n=1}^5\left[\left(\frac1\pi\int_{-\pi}^\pi{f(x)}\cos(nx)dx\right)\cos(nx)+\left(\frac1\pi\int_{-\pi}^\pi{f(x)}\sin(nx)dx\right)\sin(nx)\right]
-
\frac1{2\pi}\int_{-\pi}^\pi{f(x)}dx+\sum_{n=1}^{10}\left[\left(\frac1\pi\int_{-\pi}^\pi{f(x)}\cos(nx)dx\right)\cos(nx)+\left(\frac1\pi\int_{-\pi}^\pi{f(x)}\sin(nx)dx\right)\sin(nx)\right]
是否可以绘制它们的图表而不需要手动将它们全部转换为 pgfplots-maths?