Hello I want to plot a graph for of n! since I'm working with O(n!) time complexity. How can I make this look smooth? Preferably I want to show the marks. I tried doing plotting the first 10 factorials. If there is better way to display operations per element that would be helpful too.
\begin{tikzpicture}
\begin{axis}[
title={O(n!) Scaling data input},
xlabel={Elements},
ylabel={Operations},
xmin=0, xmax=25,
ymin=0, ymax=3628800,
xtick={0,1,2,3,4,5,6,7,8,8,10},
ytick={0,1,2,6,24,120,720,5040,40320,632880,3628800},
legend pos=north west,
ymajorgrids=true,
grid style=dashed,
]
\addplot[
color=blue,
mark=square,
]
coordinates {
(0,1)(1,1)(2,2)(3,6)(4,24)(5,120)(6,720)(7,5040)(8,40320)(9,632880)(10,3628800)
};
\legend{O(n!)}
\end{axis}
\end{tikzpicture}



