Tikz Arrows Demonstrating Limits in Calculus

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
3
down vote

favorite












I am trying to reproduce this image. This is what I have so far but I don't know where to start in putting the arrows on my graph.
All suggestions welcome.



documentclassarticle
usepackagetikz
begintikzpicture[scale=.6,cap=round]
tikzsetaxes/.style=
% The graphic
draw[style=help lines,step=1cm, dotted] (-7,-7) grid (7.0,7.0);
beginscope[style=axes]
draw[->] (-7.5,0) -- (7.5,0) node[above] $x$;
draw[->] (0,-7.5)-- (0,7.5) node[left] $y$;
foreach x/xtext in -6/-12, -5/-10, -4/-8, -3/-6, -2/-4, 1/2, 2/4, 3/6, 4/8, 5/10, 6/12
draw[xshift=x cm] (0pt,2.6pt) -- (0pt,-2.6pt) node[below,fill=white]
scriptsize $xtext$;
foreach y/ytext in -6/-12, -5/-10, -4/-8, -3/-6, -2/-4, 2/4, 3/6, 4/8, 5/10, 6/12
draw[yshift=y cm] (2.6pt,0pt) -- (-2.6pt,0pt) node[left,fill=white]
scriptsize $ytext$;
filldraw[black] (2,5.5) circle (3pt) node[fill=white,left=3pt] $$;
draw[domain=-4.1:2.9,smooth,variable=x,black,<->,thick] plot (x,.5*(3+4*x));
node at (-5.5,-4) [fill=white] $f(x)=2x+3$;
draw[dashed] (2.5,0)--(2.5,6.5)--(0,6.5);
draw[dashed] (1.5,0)--(1.5,4.5)--(0,4.5);
endscope
endtikzpicture


enddocument



This outputs:



enter image description here



BUT I am trying to reproduce:



enter image description here










share|improve this question

























    up vote
    3
    down vote

    favorite












    I am trying to reproduce this image. This is what I have so far but I don't know where to start in putting the arrows on my graph.
    All suggestions welcome.



    documentclassarticle
    usepackagetikz
    begintikzpicture[scale=.6,cap=round]
    tikzsetaxes/.style=
    % The graphic
    draw[style=help lines,step=1cm, dotted] (-7,-7) grid (7.0,7.0);
    beginscope[style=axes]
    draw[->] (-7.5,0) -- (7.5,0) node[above] $x$;
    draw[->] (0,-7.5)-- (0,7.5) node[left] $y$;
    foreach x/xtext in -6/-12, -5/-10, -4/-8, -3/-6, -2/-4, 1/2, 2/4, 3/6, 4/8, 5/10, 6/12
    draw[xshift=x cm] (0pt,2.6pt) -- (0pt,-2.6pt) node[below,fill=white]
    scriptsize $xtext$;
    foreach y/ytext in -6/-12, -5/-10, -4/-8, -3/-6, -2/-4, 2/4, 3/6, 4/8, 5/10, 6/12
    draw[yshift=y cm] (2.6pt,0pt) -- (-2.6pt,0pt) node[left,fill=white]
    scriptsize $ytext$;
    filldraw[black] (2,5.5) circle (3pt) node[fill=white,left=3pt] $$;
    draw[domain=-4.1:2.9,smooth,variable=x,black,<->,thick] plot (x,.5*(3+4*x));
    node at (-5.5,-4) [fill=white] $f(x)=2x+3$;
    draw[dashed] (2.5,0)--(2.5,6.5)--(0,6.5);
    draw[dashed] (1.5,0)--(1.5,4.5)--(0,4.5);
    endscope
    endtikzpicture


    enddocument



    This outputs:



    enter image description here



    BUT I am trying to reproduce:



    enter image description here










    share|improve this question























      up vote
      3
      down vote

      favorite









      up vote
      3
      down vote

      favorite











      I am trying to reproduce this image. This is what I have so far but I don't know where to start in putting the arrows on my graph.
      All suggestions welcome.



      documentclassarticle
      usepackagetikz
      begintikzpicture[scale=.6,cap=round]
      tikzsetaxes/.style=
      % The graphic
      draw[style=help lines,step=1cm, dotted] (-7,-7) grid (7.0,7.0);
      beginscope[style=axes]
      draw[->] (-7.5,0) -- (7.5,0) node[above] $x$;
      draw[->] (0,-7.5)-- (0,7.5) node[left] $y$;
      foreach x/xtext in -6/-12, -5/-10, -4/-8, -3/-6, -2/-4, 1/2, 2/4, 3/6, 4/8, 5/10, 6/12
      draw[xshift=x cm] (0pt,2.6pt) -- (0pt,-2.6pt) node[below,fill=white]
      scriptsize $xtext$;
      foreach y/ytext in -6/-12, -5/-10, -4/-8, -3/-6, -2/-4, 2/4, 3/6, 4/8, 5/10, 6/12
      draw[yshift=y cm] (2.6pt,0pt) -- (-2.6pt,0pt) node[left,fill=white]
      scriptsize $ytext$;
      filldraw[black] (2,5.5) circle (3pt) node[fill=white,left=3pt] $$;
      draw[domain=-4.1:2.9,smooth,variable=x,black,<->,thick] plot (x,.5*(3+4*x));
      node at (-5.5,-4) [fill=white] $f(x)=2x+3$;
      draw[dashed] (2.5,0)--(2.5,6.5)--(0,6.5);
      draw[dashed] (1.5,0)--(1.5,4.5)--(0,4.5);
      endscope
      endtikzpicture


      enddocument



      This outputs:



      enter image description here



      BUT I am trying to reproduce:



      enter image description here










      share|improve this question













      I am trying to reproduce this image. This is what I have so far but I don't know where to start in putting the arrows on my graph.
      All suggestions welcome.



      documentclassarticle
      usepackagetikz
      begintikzpicture[scale=.6,cap=round]
      tikzsetaxes/.style=
      % The graphic
      draw[style=help lines,step=1cm, dotted] (-7,-7) grid (7.0,7.0);
      beginscope[style=axes]
      draw[->] (-7.5,0) -- (7.5,0) node[above] $x$;
      draw[->] (0,-7.5)-- (0,7.5) node[left] $y$;
      foreach x/xtext in -6/-12, -5/-10, -4/-8, -3/-6, -2/-4, 1/2, 2/4, 3/6, 4/8, 5/10, 6/12
      draw[xshift=x cm] (0pt,2.6pt) -- (0pt,-2.6pt) node[below,fill=white]
      scriptsize $xtext$;
      foreach y/ytext in -6/-12, -5/-10, -4/-8, -3/-6, -2/-4, 2/4, 3/6, 4/8, 5/10, 6/12
      draw[yshift=y cm] (2.6pt,0pt) -- (-2.6pt,0pt) node[left,fill=white]
      scriptsize $ytext$;
      filldraw[black] (2,5.5) circle (3pt) node[fill=white,left=3pt] $$;
      draw[domain=-4.1:2.9,smooth,variable=x,black,<->,thick] plot (x,.5*(3+4*x));
      node at (-5.5,-4) [fill=white] $f(x)=2x+3$;
      draw[dashed] (2.5,0)--(2.5,6.5)--(0,6.5);
      draw[dashed] (1.5,0)--(1.5,4.5)--(0,4.5);
      endscope
      endtikzpicture


      enddocument



      This outputs:



      enter image description here



      BUT I am trying to reproduce:



      enter image description here







      tikz-arrows






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 4 hours ago









      MathScholar

      2538




      2538




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          3
          down vote



          accepted










          You might either use shapes.arrows or just draw thick lines with arrow heads. The following example illustrates both options.



          documentclassarticle
          usepackagetikz
          usetikzlibraryshapes.arrows,matrix,positioning
          begindocument
          begintikzpicture[scale=.6,cap=round]
          tikzsetaxes/.style=
          % The graphic
          draw[style=help lines,step=1cm, dotted] (-7,-7) grid (7.0,7.0);
          beginscope[style=axes]
          draw[->] (-7.5,0) -- (7.5,0) node[above] $x$;
          draw[->] (0,-7.5)-- (0,7.5) node[left] $y$;
          foreach x/xtext in -6/-12, -5/-10, -4/-8, -3/-6, -2/-4, 1/2, 2/4, 3/6, 4/8, 5/10, 6/12
          ifnumx=2
          else
          draw[xshift=x cm] (0pt,2.6pt) -- (0pt,-2.6pt) node[below,fill=white,font=scriptsize]
          $xtext$;
          fi

          foreach y/ytext in -6/-12, -5/-10, -4/-8, -3/-6, -2/-4, 2/4, 3/6, 4/8, 5/10, 6/12
          draw[yshift=y cm] (2.6pt,0pt) -- (-2.6pt,0pt) node[left,fill=white,font=scriptsize]
          $ytext$;
          filldraw[black] (2,5.5) circle (3pt) node[fill=white,left=3pt] ;
          draw[domain=-4.1:2.9,smooth,variable=x,black,<->,thick] plot (x,.5*(3+4*x));
          node at (-5.5,-4) [fill=white] $f(x)=2x+3$;
          draw[dashed] (2.5,0)--(2.5,6.5)--(0,6.5);
          draw[dashed] (1.5,0)--(1.5,4.5)--(0,4.5);
          endscope
          draw[cyan,thick] (0,5.5) -- (-1,5.5) node[left,font=scriptsize](11)11;
          node[single arrow,cyan,minimum height=1.5cm,rotate=-90,fill,transform
          shape,anchor=east,opacity=0.3] at(11.north);
          node[single arrow,cyan,minimum height=1.5cm,rotate=90,fill,transform
          shape,anchor=east,opacity=0.3] at(11.south);
          draw[red,thick] (2,0) -- (2,-9.8);
          node[text=red,fill=white,font=scriptsize] (4) at (2,-1.5) 4;
          node[single arrow,red,minimum height=1.5cm,rotate=0,fill,transform
          shape,anchor=east,opacity=0.3] at(4.west);
          node[single arrow,red,minimum height=1.5cm,rotate=180,fill,transform
          shape,anchor=east,opacity=0.3] at(4.east);
          %
          matrix[matrix of math nodes,nodes=text width=11mm,align=right,inner sep=3pt,
          text height=1.5ex,text depth=.25ex,draw=gray!40,ultra thin,draw,inner
          sep=0pt] (mat)
          at (1.1,-11)
          ;
          draw[thin,gray!40] (mat.west) -- (mat.east);
          node[left=2mm of mat-1-1,text width=2cm,font=itshape]Limit;
          node[left=2mm of mat-2-1,text width=2cm,font=itshape]Numerically;
          draw[line width=1mm,-latex,red!90] ([xshift=3mm,yshift=8mm]mat-1-2.north west)
          node[xshift=-2mm,anchor=south west,align=left,font=scriptsize]These input values\
          approach 4 from the left.
          --([xshift=2mm,yshift=8mm]mat-1-5.north west);
          draw[line width=1mm,latex-,red!90] ([xshift=-2mm,yshift=8mm]mat-1-5.north east)
          node[xshift=2mm,anchor=south west,align=left,font=scriptsize]These input values\
          approach 4 from the right.
          -- ([xshift=-1mm,yshift=8mm]mat-1-8.north east);
          draw[line width=1mm,-latex,cyan!90] ([xshift=3mm,yshift=-8mm]mat-2-2.south west)
          node[xshift=-2mm,anchor=north west,align=left,font=scriptsize]These output values\
          approach 11 from the left.
          --([xshift=2mm,yshift=-8mm]mat-2-5.south west);
          draw[line width=1mm,latex-,cyan!90] ([xshift=-2mm,yshift=-8mm]mat-2-5.south east)
          node[xshift=2mm,anchor=north west,align=left,font=scriptsize]These output values\
          approach 11 from the right.
          -- ([xshift=-1mm,yshift=-8mm]mat-2-8.south east);
          endtikzpicture
          enddocument


          enter image description here



          BTW, you forgot begindocument and enddocument in your example and it would really help if you provide the table and everything that needs to be typed in the future.






          share|improve this answer




















          • Marmot, I can not thank you enough!!! I will have to spend quite a bit of time studying this program. Very helpful. I could have created a tabular table but you used a matrix which I never would have thought of. I will note your request in the future.
            – MathScholar
            3 hours ago











          • I will upvote it but I don't know how. I am looking for the field to upvote and I can not find. Please advise I will do it!
            – MathScholar
            2 hours ago






          • 1




            I think I found it!
            – MathScholar
            2 hours ago










          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "85"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f458719%2ftikz-arrows-demonstrating-limits-in-calculus%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          3
          down vote



          accepted










          You might either use shapes.arrows or just draw thick lines with arrow heads. The following example illustrates both options.



          documentclassarticle
          usepackagetikz
          usetikzlibraryshapes.arrows,matrix,positioning
          begindocument
          begintikzpicture[scale=.6,cap=round]
          tikzsetaxes/.style=
          % The graphic
          draw[style=help lines,step=1cm, dotted] (-7,-7) grid (7.0,7.0);
          beginscope[style=axes]
          draw[->] (-7.5,0) -- (7.5,0) node[above] $x$;
          draw[->] (0,-7.5)-- (0,7.5) node[left] $y$;
          foreach x/xtext in -6/-12, -5/-10, -4/-8, -3/-6, -2/-4, 1/2, 2/4, 3/6, 4/8, 5/10, 6/12
          ifnumx=2
          else
          draw[xshift=x cm] (0pt,2.6pt) -- (0pt,-2.6pt) node[below,fill=white,font=scriptsize]
          $xtext$;
          fi

          foreach y/ytext in -6/-12, -5/-10, -4/-8, -3/-6, -2/-4, 2/4, 3/6, 4/8, 5/10, 6/12
          draw[yshift=y cm] (2.6pt,0pt) -- (-2.6pt,0pt) node[left,fill=white,font=scriptsize]
          $ytext$;
          filldraw[black] (2,5.5) circle (3pt) node[fill=white,left=3pt] ;
          draw[domain=-4.1:2.9,smooth,variable=x,black,<->,thick] plot (x,.5*(3+4*x));
          node at (-5.5,-4) [fill=white] $f(x)=2x+3$;
          draw[dashed] (2.5,0)--(2.5,6.5)--(0,6.5);
          draw[dashed] (1.5,0)--(1.5,4.5)--(0,4.5);
          endscope
          draw[cyan,thick] (0,5.5) -- (-1,5.5) node[left,font=scriptsize](11)11;
          node[single arrow,cyan,minimum height=1.5cm,rotate=-90,fill,transform
          shape,anchor=east,opacity=0.3] at(11.north);
          node[single arrow,cyan,minimum height=1.5cm,rotate=90,fill,transform
          shape,anchor=east,opacity=0.3] at(11.south);
          draw[red,thick] (2,0) -- (2,-9.8);
          node[text=red,fill=white,font=scriptsize] (4) at (2,-1.5) 4;
          node[single arrow,red,minimum height=1.5cm,rotate=0,fill,transform
          shape,anchor=east,opacity=0.3] at(4.west);
          node[single arrow,red,minimum height=1.5cm,rotate=180,fill,transform
          shape,anchor=east,opacity=0.3] at(4.east);
          %
          matrix[matrix of math nodes,nodes=text width=11mm,align=right,inner sep=3pt,
          text height=1.5ex,text depth=.25ex,draw=gray!40,ultra thin,draw,inner
          sep=0pt] (mat)
          at (1.1,-11)
          ;
          draw[thin,gray!40] (mat.west) -- (mat.east);
          node[left=2mm of mat-1-1,text width=2cm,font=itshape]Limit;
          node[left=2mm of mat-2-1,text width=2cm,font=itshape]Numerically;
          draw[line width=1mm,-latex,red!90] ([xshift=3mm,yshift=8mm]mat-1-2.north west)
          node[xshift=-2mm,anchor=south west,align=left,font=scriptsize]These input values\
          approach 4 from the left.
          --([xshift=2mm,yshift=8mm]mat-1-5.north west);
          draw[line width=1mm,latex-,red!90] ([xshift=-2mm,yshift=8mm]mat-1-5.north east)
          node[xshift=2mm,anchor=south west,align=left,font=scriptsize]These input values\
          approach 4 from the right.
          -- ([xshift=-1mm,yshift=8mm]mat-1-8.north east);
          draw[line width=1mm,-latex,cyan!90] ([xshift=3mm,yshift=-8mm]mat-2-2.south west)
          node[xshift=-2mm,anchor=north west,align=left,font=scriptsize]These output values\
          approach 11 from the left.
          --([xshift=2mm,yshift=-8mm]mat-2-5.south west);
          draw[line width=1mm,latex-,cyan!90] ([xshift=-2mm,yshift=-8mm]mat-2-5.south east)
          node[xshift=2mm,anchor=north west,align=left,font=scriptsize]These output values\
          approach 11 from the right.
          -- ([xshift=-1mm,yshift=-8mm]mat-2-8.south east);
          endtikzpicture
          enddocument


          enter image description here



          BTW, you forgot begindocument and enddocument in your example and it would really help if you provide the table and everything that needs to be typed in the future.






          share|improve this answer




















          • Marmot, I can not thank you enough!!! I will have to spend quite a bit of time studying this program. Very helpful. I could have created a tabular table but you used a matrix which I never would have thought of. I will note your request in the future.
            – MathScholar
            3 hours ago











          • I will upvote it but I don't know how. I am looking for the field to upvote and I can not find. Please advise I will do it!
            – MathScholar
            2 hours ago






          • 1




            I think I found it!
            – MathScholar
            2 hours ago














          up vote
          3
          down vote



          accepted










          You might either use shapes.arrows or just draw thick lines with arrow heads. The following example illustrates both options.



          documentclassarticle
          usepackagetikz
          usetikzlibraryshapes.arrows,matrix,positioning
          begindocument
          begintikzpicture[scale=.6,cap=round]
          tikzsetaxes/.style=
          % The graphic
          draw[style=help lines,step=1cm, dotted] (-7,-7) grid (7.0,7.0);
          beginscope[style=axes]
          draw[->] (-7.5,0) -- (7.5,0) node[above] $x$;
          draw[->] (0,-7.5)-- (0,7.5) node[left] $y$;
          foreach x/xtext in -6/-12, -5/-10, -4/-8, -3/-6, -2/-4, 1/2, 2/4, 3/6, 4/8, 5/10, 6/12
          ifnumx=2
          else
          draw[xshift=x cm] (0pt,2.6pt) -- (0pt,-2.6pt) node[below,fill=white,font=scriptsize]
          $xtext$;
          fi

          foreach y/ytext in -6/-12, -5/-10, -4/-8, -3/-6, -2/-4, 2/4, 3/6, 4/8, 5/10, 6/12
          draw[yshift=y cm] (2.6pt,0pt) -- (-2.6pt,0pt) node[left,fill=white,font=scriptsize]
          $ytext$;
          filldraw[black] (2,5.5) circle (3pt) node[fill=white,left=3pt] ;
          draw[domain=-4.1:2.9,smooth,variable=x,black,<->,thick] plot (x,.5*(3+4*x));
          node at (-5.5,-4) [fill=white] $f(x)=2x+3$;
          draw[dashed] (2.5,0)--(2.5,6.5)--(0,6.5);
          draw[dashed] (1.5,0)--(1.5,4.5)--(0,4.5);
          endscope
          draw[cyan,thick] (0,5.5) -- (-1,5.5) node[left,font=scriptsize](11)11;
          node[single arrow,cyan,minimum height=1.5cm,rotate=-90,fill,transform
          shape,anchor=east,opacity=0.3] at(11.north);
          node[single arrow,cyan,minimum height=1.5cm,rotate=90,fill,transform
          shape,anchor=east,opacity=0.3] at(11.south);
          draw[red,thick] (2,0) -- (2,-9.8);
          node[text=red,fill=white,font=scriptsize] (4) at (2,-1.5) 4;
          node[single arrow,red,minimum height=1.5cm,rotate=0,fill,transform
          shape,anchor=east,opacity=0.3] at(4.west);
          node[single arrow,red,minimum height=1.5cm,rotate=180,fill,transform
          shape,anchor=east,opacity=0.3] at(4.east);
          %
          matrix[matrix of math nodes,nodes=text width=11mm,align=right,inner sep=3pt,
          text height=1.5ex,text depth=.25ex,draw=gray!40,ultra thin,draw,inner
          sep=0pt] (mat)
          at (1.1,-11)
          ;
          draw[thin,gray!40] (mat.west) -- (mat.east);
          node[left=2mm of mat-1-1,text width=2cm,font=itshape]Limit;
          node[left=2mm of mat-2-1,text width=2cm,font=itshape]Numerically;
          draw[line width=1mm,-latex,red!90] ([xshift=3mm,yshift=8mm]mat-1-2.north west)
          node[xshift=-2mm,anchor=south west,align=left,font=scriptsize]These input values\
          approach 4 from the left.
          --([xshift=2mm,yshift=8mm]mat-1-5.north west);
          draw[line width=1mm,latex-,red!90] ([xshift=-2mm,yshift=8mm]mat-1-5.north east)
          node[xshift=2mm,anchor=south west,align=left,font=scriptsize]These input values\
          approach 4 from the right.
          -- ([xshift=-1mm,yshift=8mm]mat-1-8.north east);
          draw[line width=1mm,-latex,cyan!90] ([xshift=3mm,yshift=-8mm]mat-2-2.south west)
          node[xshift=-2mm,anchor=north west,align=left,font=scriptsize]These output values\
          approach 11 from the left.
          --([xshift=2mm,yshift=-8mm]mat-2-5.south west);
          draw[line width=1mm,latex-,cyan!90] ([xshift=-2mm,yshift=-8mm]mat-2-5.south east)
          node[xshift=2mm,anchor=north west,align=left,font=scriptsize]These output values\
          approach 11 from the right.
          -- ([xshift=-1mm,yshift=-8mm]mat-2-8.south east);
          endtikzpicture
          enddocument


          enter image description here



          BTW, you forgot begindocument and enddocument in your example and it would really help if you provide the table and everything that needs to be typed in the future.






          share|improve this answer




















          • Marmot, I can not thank you enough!!! I will have to spend quite a bit of time studying this program. Very helpful. I could have created a tabular table but you used a matrix which I never would have thought of. I will note your request in the future.
            – MathScholar
            3 hours ago











          • I will upvote it but I don't know how. I am looking for the field to upvote and I can not find. Please advise I will do it!
            – MathScholar
            2 hours ago






          • 1




            I think I found it!
            – MathScholar
            2 hours ago












          up vote
          3
          down vote



          accepted







          up vote
          3
          down vote



          accepted






          You might either use shapes.arrows or just draw thick lines with arrow heads. The following example illustrates both options.



          documentclassarticle
          usepackagetikz
          usetikzlibraryshapes.arrows,matrix,positioning
          begindocument
          begintikzpicture[scale=.6,cap=round]
          tikzsetaxes/.style=
          % The graphic
          draw[style=help lines,step=1cm, dotted] (-7,-7) grid (7.0,7.0);
          beginscope[style=axes]
          draw[->] (-7.5,0) -- (7.5,0) node[above] $x$;
          draw[->] (0,-7.5)-- (0,7.5) node[left] $y$;
          foreach x/xtext in -6/-12, -5/-10, -4/-8, -3/-6, -2/-4, 1/2, 2/4, 3/6, 4/8, 5/10, 6/12
          ifnumx=2
          else
          draw[xshift=x cm] (0pt,2.6pt) -- (0pt,-2.6pt) node[below,fill=white,font=scriptsize]
          $xtext$;
          fi

          foreach y/ytext in -6/-12, -5/-10, -4/-8, -3/-6, -2/-4, 2/4, 3/6, 4/8, 5/10, 6/12
          draw[yshift=y cm] (2.6pt,0pt) -- (-2.6pt,0pt) node[left,fill=white,font=scriptsize]
          $ytext$;
          filldraw[black] (2,5.5) circle (3pt) node[fill=white,left=3pt] ;
          draw[domain=-4.1:2.9,smooth,variable=x,black,<->,thick] plot (x,.5*(3+4*x));
          node at (-5.5,-4) [fill=white] $f(x)=2x+3$;
          draw[dashed] (2.5,0)--(2.5,6.5)--(0,6.5);
          draw[dashed] (1.5,0)--(1.5,4.5)--(0,4.5);
          endscope
          draw[cyan,thick] (0,5.5) -- (-1,5.5) node[left,font=scriptsize](11)11;
          node[single arrow,cyan,minimum height=1.5cm,rotate=-90,fill,transform
          shape,anchor=east,opacity=0.3] at(11.north);
          node[single arrow,cyan,minimum height=1.5cm,rotate=90,fill,transform
          shape,anchor=east,opacity=0.3] at(11.south);
          draw[red,thick] (2,0) -- (2,-9.8);
          node[text=red,fill=white,font=scriptsize] (4) at (2,-1.5) 4;
          node[single arrow,red,minimum height=1.5cm,rotate=0,fill,transform
          shape,anchor=east,opacity=0.3] at(4.west);
          node[single arrow,red,minimum height=1.5cm,rotate=180,fill,transform
          shape,anchor=east,opacity=0.3] at(4.east);
          %
          matrix[matrix of math nodes,nodes=text width=11mm,align=right,inner sep=3pt,
          text height=1.5ex,text depth=.25ex,draw=gray!40,ultra thin,draw,inner
          sep=0pt] (mat)
          at (1.1,-11)
          ;
          draw[thin,gray!40] (mat.west) -- (mat.east);
          node[left=2mm of mat-1-1,text width=2cm,font=itshape]Limit;
          node[left=2mm of mat-2-1,text width=2cm,font=itshape]Numerically;
          draw[line width=1mm,-latex,red!90] ([xshift=3mm,yshift=8mm]mat-1-2.north west)
          node[xshift=-2mm,anchor=south west,align=left,font=scriptsize]These input values\
          approach 4 from the left.
          --([xshift=2mm,yshift=8mm]mat-1-5.north west);
          draw[line width=1mm,latex-,red!90] ([xshift=-2mm,yshift=8mm]mat-1-5.north east)
          node[xshift=2mm,anchor=south west,align=left,font=scriptsize]These input values\
          approach 4 from the right.
          -- ([xshift=-1mm,yshift=8mm]mat-1-8.north east);
          draw[line width=1mm,-latex,cyan!90] ([xshift=3mm,yshift=-8mm]mat-2-2.south west)
          node[xshift=-2mm,anchor=north west,align=left,font=scriptsize]These output values\
          approach 11 from the left.
          --([xshift=2mm,yshift=-8mm]mat-2-5.south west);
          draw[line width=1mm,latex-,cyan!90] ([xshift=-2mm,yshift=-8mm]mat-2-5.south east)
          node[xshift=2mm,anchor=north west,align=left,font=scriptsize]These output values\
          approach 11 from the right.
          -- ([xshift=-1mm,yshift=-8mm]mat-2-8.south east);
          endtikzpicture
          enddocument


          enter image description here



          BTW, you forgot begindocument and enddocument in your example and it would really help if you provide the table and everything that needs to be typed in the future.






          share|improve this answer












          You might either use shapes.arrows or just draw thick lines with arrow heads. The following example illustrates both options.



          documentclassarticle
          usepackagetikz
          usetikzlibraryshapes.arrows,matrix,positioning
          begindocument
          begintikzpicture[scale=.6,cap=round]
          tikzsetaxes/.style=
          % The graphic
          draw[style=help lines,step=1cm, dotted] (-7,-7) grid (7.0,7.0);
          beginscope[style=axes]
          draw[->] (-7.5,0) -- (7.5,0) node[above] $x$;
          draw[->] (0,-7.5)-- (0,7.5) node[left] $y$;
          foreach x/xtext in -6/-12, -5/-10, -4/-8, -3/-6, -2/-4, 1/2, 2/4, 3/6, 4/8, 5/10, 6/12
          ifnumx=2
          else
          draw[xshift=x cm] (0pt,2.6pt) -- (0pt,-2.6pt) node[below,fill=white,font=scriptsize]
          $xtext$;
          fi

          foreach y/ytext in -6/-12, -5/-10, -4/-8, -3/-6, -2/-4, 2/4, 3/6, 4/8, 5/10, 6/12
          draw[yshift=y cm] (2.6pt,0pt) -- (-2.6pt,0pt) node[left,fill=white,font=scriptsize]
          $ytext$;
          filldraw[black] (2,5.5) circle (3pt) node[fill=white,left=3pt] ;
          draw[domain=-4.1:2.9,smooth,variable=x,black,<->,thick] plot (x,.5*(3+4*x));
          node at (-5.5,-4) [fill=white] $f(x)=2x+3$;
          draw[dashed] (2.5,0)--(2.5,6.5)--(0,6.5);
          draw[dashed] (1.5,0)--(1.5,4.5)--(0,4.5);
          endscope
          draw[cyan,thick] (0,5.5) -- (-1,5.5) node[left,font=scriptsize](11)11;
          node[single arrow,cyan,minimum height=1.5cm,rotate=-90,fill,transform
          shape,anchor=east,opacity=0.3] at(11.north);
          node[single arrow,cyan,minimum height=1.5cm,rotate=90,fill,transform
          shape,anchor=east,opacity=0.3] at(11.south);
          draw[red,thick] (2,0) -- (2,-9.8);
          node[text=red,fill=white,font=scriptsize] (4) at (2,-1.5) 4;
          node[single arrow,red,minimum height=1.5cm,rotate=0,fill,transform
          shape,anchor=east,opacity=0.3] at(4.west);
          node[single arrow,red,minimum height=1.5cm,rotate=180,fill,transform
          shape,anchor=east,opacity=0.3] at(4.east);
          %
          matrix[matrix of math nodes,nodes=text width=11mm,align=right,inner sep=3pt,
          text height=1.5ex,text depth=.25ex,draw=gray!40,ultra thin,draw,inner
          sep=0pt] (mat)
          at (1.1,-11)
          ;
          draw[thin,gray!40] (mat.west) -- (mat.east);
          node[left=2mm of mat-1-1,text width=2cm,font=itshape]Limit;
          node[left=2mm of mat-2-1,text width=2cm,font=itshape]Numerically;
          draw[line width=1mm,-latex,red!90] ([xshift=3mm,yshift=8mm]mat-1-2.north west)
          node[xshift=-2mm,anchor=south west,align=left,font=scriptsize]These input values\
          approach 4 from the left.
          --([xshift=2mm,yshift=8mm]mat-1-5.north west);
          draw[line width=1mm,latex-,red!90] ([xshift=-2mm,yshift=8mm]mat-1-5.north east)
          node[xshift=2mm,anchor=south west,align=left,font=scriptsize]These input values\
          approach 4 from the right.
          -- ([xshift=-1mm,yshift=8mm]mat-1-8.north east);
          draw[line width=1mm,-latex,cyan!90] ([xshift=3mm,yshift=-8mm]mat-2-2.south west)
          node[xshift=-2mm,anchor=north west,align=left,font=scriptsize]These output values\
          approach 11 from the left.
          --([xshift=2mm,yshift=-8mm]mat-2-5.south west);
          draw[line width=1mm,latex-,cyan!90] ([xshift=-2mm,yshift=-8mm]mat-2-5.south east)
          node[xshift=2mm,anchor=north west,align=left,font=scriptsize]These output values\
          approach 11 from the right.
          -- ([xshift=-1mm,yshift=-8mm]mat-2-8.south east);
          endtikzpicture
          enddocument


          enter image description here



          BTW, you forgot begindocument and enddocument in your example and it would really help if you provide the table and everything that needs to be typed in the future.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 3 hours ago









          marmot

          72.2k477153




          72.2k477153











          • Marmot, I can not thank you enough!!! I will have to spend quite a bit of time studying this program. Very helpful. I could have created a tabular table but you used a matrix which I never would have thought of. I will note your request in the future.
            – MathScholar
            3 hours ago











          • I will upvote it but I don't know how. I am looking for the field to upvote and I can not find. Please advise I will do it!
            – MathScholar
            2 hours ago






          • 1




            I think I found it!
            – MathScholar
            2 hours ago
















          • Marmot, I can not thank you enough!!! I will have to spend quite a bit of time studying this program. Very helpful. I could have created a tabular table but you used a matrix which I never would have thought of. I will note your request in the future.
            – MathScholar
            3 hours ago











          • I will upvote it but I don't know how. I am looking for the field to upvote and I can not find. Please advise I will do it!
            – MathScholar
            2 hours ago






          • 1




            I think I found it!
            – MathScholar
            2 hours ago















          Marmot, I can not thank you enough!!! I will have to spend quite a bit of time studying this program. Very helpful. I could have created a tabular table but you used a matrix which I never would have thought of. I will note your request in the future.
          – MathScholar
          3 hours ago





          Marmot, I can not thank you enough!!! I will have to spend quite a bit of time studying this program. Very helpful. I could have created a tabular table but you used a matrix which I never would have thought of. I will note your request in the future.
          – MathScholar
          3 hours ago













          I will upvote it but I don't know how. I am looking for the field to upvote and I can not find. Please advise I will do it!
          – MathScholar
          2 hours ago




          I will upvote it but I don't know how. I am looking for the field to upvote and I can not find. Please advise I will do it!
          – MathScholar
          2 hours ago




          1




          1




          I think I found it!
          – MathScholar
          2 hours ago




          I think I found it!
          – MathScholar
          2 hours ago

















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f458719%2ftikz-arrows-demonstrating-limits-in-calculus%23new-answer', 'question_page');

          );

          Post as a guest













































































          Comments

          Popular posts from this blog

          Long meetings (6-7 hours a day): Being “babysat” by supervisor

          Is the Concept of Multiple Fantasy Races Scientifically Flawed? [closed]

          Confectionery