1

I am just started learning beamer. For my presentation I want to make a slide to show a animation for my +2 students. I want to explain the concept of convergence of sequence. enter image description here

I want to explain it for the the sequence {1/n^2}. I will choose epsilon=1/100.I want to draw Y axis labeled as real line. I want to plot the graph of y=1/x^2 restricting the domain to Natural Number. I want to show the points for n=1(y=1) to n=9(y=1/81) of the graph and want to animate so that points will get projected on corresponding Y axis.(for n=5, graph point is (5,1/25)...it is to be projected to (0,1/25) so onenter image description here)

It would be a great help if someone help me creating the code. I know "geogebra" is a 2d drawing software that would generate the tex code to export it in beamer file. But I don't know how to animate it in terms of overlay specification. I complete help is very very welcome. Also it would be a great help if anyone indicates some resource/link that will help me learning how to create this type of simple animation.

moved from comment:

\pgfplotsset{compat=1.14} 
\centering 
\begin{tikzpicture} 
\begin{axis}[xlabel=$\mathbb{N}$,ylabel=$\frac{1}{n^2}$] 
\addplot [samples at={0,...,10},only marks] {1/x^2)}; 
\end{axis}
\end{tikzpicture}

closed as unclear what you're asking by Stefan Pinnow, user36296, Moriambar, Zarko, egreg May 7 '17 at 9:55

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Welcome to TeX.SX! Please post what you've got so far as MWE. – TeXnician Apr 14 '17 at 9:19
  • I am not getting. MWE meaning? – Tom Apr 14 '17 at 9:21
  • 1
    A minimal working example, e.g. a pgfplots plot or something what you've done and tried so far (there are some posts on this site which would at least explain how to do the plot without overlays). – TeXnician Apr 14 '17 at 9:23
  • I dont understand.... – Tom Apr 14 '17 at 9:30
  • 3
    Welcome to TeX.SX!. Please add a minimal but working example of the code you already have for the plot into your question (not into a comment!). This means code starting with \documentclass and ending (after some preamble code, \begin{document} and some body code) with \end{document}. – Schweinebacke Apr 14 '17 at 11:19