Separating matrix elements by lines The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Drawing arrows from one table cell reference to anotherHow to define the default vertical distance between nodes?TikZ/ERD: node (=Entity) label on the insideTable-like lines in tikz matrixDraw lines inside a matrixTikZ: Drawing an arc from an intersection to an intersectionDraw lines over a matrixDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingTikz, Matrix, and elements aboveMatrix of nodes with multiple linesHighlight elements in the matrix in tikz

Multi tool use
Multi tool use

Single author papers against my advisor's will?

What aspect of planet Earth must be changed to prevent the industrial revolution?

How to handle characters who are more educated than the author?

What was the last x86 CPU that did not have the x87 floating-point unit built in?

Am I ethically obligated to go into work on an off day if the reason is sudden?

Are spiders unable to hurt humans, especially very small spiders?

ELI5: Why do they say that Israel would have been the fourth country to land a spacecraft on the Moon and why do they call it low cost?

Can we generate random numbers using irrational numbers like π and e?

Do warforged have souls?

Variable with quotation marks "$()"

Separating matrix elements by lines

Simulating Exploding Dice

Deal with toxic manager when you can't quit

Homework question about an engine pulling a train

Loose spokes after only a few rides

Why don't hard Brexiteers insist on a hard border to prevent illegal immigration after Brexit?

Does Parliament need to approve the new Brexit delay to 31 October 2019?

Why can't devices on different VLANs, but on the same subnet, communicate?

Working through the single responsibility principle (SRP) in Python when calls are expensive

Didn't get enough time to take a Coding Test - what to do now?

What is the role of 'For' here?

Could an empire control the whole planet with today's comunication methods?

Accepted by European university, rejected by all American ones I applied to? Possible reasons?

Why can't wing-mounted spoilers be used to steepen approaches?



Separating matrix elements by lines



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Drawing arrows from one table cell reference to anotherHow to define the default vertical distance between nodes?TikZ/ERD: node (=Entity) label on the insideTable-like lines in tikz matrixDraw lines inside a matrixTikZ: Drawing an arc from an intersection to an intersectionDraw lines over a matrixDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingTikz, Matrix, and elements aboveMatrix of nodes with multiple linesHighlight elements in the matrix in tikz










2















Using the following code



documentclassbeamer
beamertemplatenavigationsymbolsempty
usepackageverbatim
usepackagetikz
usepackagepgfplots
usetikzlibraryarrows, arrows.meta
usetikzlibrarymatrix
begindocument
beginframe[t,fragile]
frametitle
begintikzpicture
matrix (x) [matrix of nodes,row sep=1em,column sep=1em] %
15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\;
draw<2->[ultra thick, blue, latex'-] (x-2-1) -- (x-4-5);
% Node names: (<name of matrix>-<row>-<column>)
endtikzpicture
endframe
enddocument


from the answer to this question



Can the matrix elements be separated by lines so that it could look like a table with borders between cells










share|improve this question


























    2















    Using the following code



    documentclassbeamer
    beamertemplatenavigationsymbolsempty
    usepackageverbatim
    usepackagetikz
    usepackagepgfplots
    usetikzlibraryarrows, arrows.meta
    usetikzlibrarymatrix
    begindocument
    beginframe[t,fragile]
    frametitle
    begintikzpicture
    matrix (x) [matrix of nodes,row sep=1em,column sep=1em] %
    15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
    17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
    10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
    23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
    13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\;
    draw<2->[ultra thick, blue, latex'-] (x-2-1) -- (x-4-5);
    % Node names: (<name of matrix>-<row>-<column>)
    endtikzpicture
    endframe
    enddocument


    from the answer to this question



    Can the matrix elements be separated by lines so that it could look like a table with borders between cells










    share|improve this question
























      2












      2








      2








      Using the following code



      documentclassbeamer
      beamertemplatenavigationsymbolsempty
      usepackageverbatim
      usepackagetikz
      usepackagepgfplots
      usetikzlibraryarrows, arrows.meta
      usetikzlibrarymatrix
      begindocument
      beginframe[t,fragile]
      frametitle
      begintikzpicture
      matrix (x) [matrix of nodes,row sep=1em,column sep=1em] %
      15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
      17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
      10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
      23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
      13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\;
      draw<2->[ultra thick, blue, latex'-] (x-2-1) -- (x-4-5);
      % Node names: (<name of matrix>-<row>-<column>)
      endtikzpicture
      endframe
      enddocument


      from the answer to this question



      Can the matrix elements be separated by lines so that it could look like a table with borders between cells










      share|improve this question














      Using the following code



      documentclassbeamer
      beamertemplatenavigationsymbolsempty
      usepackageverbatim
      usepackagetikz
      usepackagepgfplots
      usetikzlibraryarrows, arrows.meta
      usetikzlibrarymatrix
      begindocument
      beginframe[t,fragile]
      frametitle
      begintikzpicture
      matrix (x) [matrix of nodes,row sep=1em,column sep=1em] %
      15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
      17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
      10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
      23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
      13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\;
      draw<2->[ultra thick, blue, latex'-] (x-2-1) -- (x-4-5);
      % Node names: (<name of matrix>-<row>-<column>)
      endtikzpicture
      endframe
      enddocument


      from the answer to this question



      Can the matrix elements be separated by lines so that it could look like a table with borders between cells







      tikz-pgf beamer tikz-matrix






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 1 hour ago









      HanyHany

      1,305417




      1,305417




















          2 Answers
          2






          active

          oldest

          votes


















          3














          matrix itself is not really designed to draw tables, but with calc one can always draw any kind of line.



          documentclassbeamer
          beamertemplatenavigationsymbolsempty
          usepackageverbatim
          usepackagetikz
          usetikzlibraryarrows, arrows.meta
          usetikzlibrarymatrix,calc
          begindocument
          beginframe[t,fragile]
          frametitle
          begintikzpicture
          matrix (x) [matrix of nodes,row sep=1em,column sep=1em] %
          15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
          17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
          10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
          23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
          13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\;
          draw<2->[ultra thick, blue, latex'-] (x-2-1) -- (x-4-5);
          % Node names: (<name of matrix>-<row>-<column>)
          foreach i in 1,...,6
          draw ($(x-1-i.north west)+(-.5em,.5em)$) -- ($(x-5-i.south west)+(-.5em,-.5em)$);
          foreach i in 1,...,5
          draw ($(x-i-1.south west)+(-.5em,-.5em)$) -- ($(x-i-6.south east)+(.5em,-.5em)$);
          draw ($(x-1-1.north west)+(-.5em,.5em)$) -| ($(x-5-6.south east)+(.5em,-.5em)$);
          endtikzpicture
          endframe
          enddocument


          enter image description here






          share|improve this answer























          • @JouleVThank you very much for your answer

            – Hany
            1 hour ago


















          3














          Just for fun with some styles.



          documentclassbeamer
          beamertemplatenavigationsymbolsempty
          usepackageverbatim
          usepackagetikz
          usetikzlibraryarrows,calc
          usetikzlibrarymatrix
          begindocument
          beginframe[t,fragile]
          frametitle
          begintikzpicture[vline/.style=insert path=
          ($(x-1-#1.east)!0.5!(x-1-thenumexpr1+#1.west)$) coordinate (aux)
          (x.north-,
          hline/.style=insert path=
          ($(x-#1-1.south)!0.5!(x-thenumexpr1+#1relax-1.north)$) coordinate (aux)
          (x.west]
          matrix (x) [matrix of nodes,row sep=1em,column sep=1em] %
          15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
          17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
          10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
          23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
          13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\;
          draw[vline/.list=1,...,5,hline/.list=1,...,4] (x.north west) rectangle
          (x.south east);
          draw<2->[ultra thick, blue, latex'-] (x-2-1) -- (x-4-5);
          % Node names: (<name of matrix>-<row>-<column>)
          endtikzpicture
          endframe
          enddocument


          enter image description here






          share|improve this answer























          • @marmotThank you very much for your valuable answer

            – Hany
            44 mins 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',
          autoActivateHeartbeat: false,
          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%2f484606%2fseparating-matrix-elements-by-lines%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          3














          matrix itself is not really designed to draw tables, but with calc one can always draw any kind of line.



          documentclassbeamer
          beamertemplatenavigationsymbolsempty
          usepackageverbatim
          usepackagetikz
          usetikzlibraryarrows, arrows.meta
          usetikzlibrarymatrix,calc
          begindocument
          beginframe[t,fragile]
          frametitle
          begintikzpicture
          matrix (x) [matrix of nodes,row sep=1em,column sep=1em] %
          15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
          17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
          10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
          23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
          13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\;
          draw<2->[ultra thick, blue, latex'-] (x-2-1) -- (x-4-5);
          % Node names: (<name of matrix>-<row>-<column>)
          foreach i in 1,...,6
          draw ($(x-1-i.north west)+(-.5em,.5em)$) -- ($(x-5-i.south west)+(-.5em,-.5em)$);
          foreach i in 1,...,5
          draw ($(x-i-1.south west)+(-.5em,-.5em)$) -- ($(x-i-6.south east)+(.5em,-.5em)$);
          draw ($(x-1-1.north west)+(-.5em,.5em)$) -| ($(x-5-6.south east)+(.5em,-.5em)$);
          endtikzpicture
          endframe
          enddocument


          enter image description here






          share|improve this answer























          • @JouleVThank you very much for your answer

            – Hany
            1 hour ago















          3














          matrix itself is not really designed to draw tables, but with calc one can always draw any kind of line.



          documentclassbeamer
          beamertemplatenavigationsymbolsempty
          usepackageverbatim
          usepackagetikz
          usetikzlibraryarrows, arrows.meta
          usetikzlibrarymatrix,calc
          begindocument
          beginframe[t,fragile]
          frametitle
          begintikzpicture
          matrix (x) [matrix of nodes,row sep=1em,column sep=1em] %
          15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
          17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
          10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
          23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
          13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\;
          draw<2->[ultra thick, blue, latex'-] (x-2-1) -- (x-4-5);
          % Node names: (<name of matrix>-<row>-<column>)
          foreach i in 1,...,6
          draw ($(x-1-i.north west)+(-.5em,.5em)$) -- ($(x-5-i.south west)+(-.5em,-.5em)$);
          foreach i in 1,...,5
          draw ($(x-i-1.south west)+(-.5em,-.5em)$) -- ($(x-i-6.south east)+(.5em,-.5em)$);
          draw ($(x-1-1.north west)+(-.5em,.5em)$) -| ($(x-5-6.south east)+(.5em,-.5em)$);
          endtikzpicture
          endframe
          enddocument


          enter image description here






          share|improve this answer























          • @JouleVThank you very much for your answer

            – Hany
            1 hour ago













          3












          3








          3







          matrix itself is not really designed to draw tables, but with calc one can always draw any kind of line.



          documentclassbeamer
          beamertemplatenavigationsymbolsempty
          usepackageverbatim
          usepackagetikz
          usetikzlibraryarrows, arrows.meta
          usetikzlibrarymatrix,calc
          begindocument
          beginframe[t,fragile]
          frametitle
          begintikzpicture
          matrix (x) [matrix of nodes,row sep=1em,column sep=1em] %
          15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
          17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
          10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
          23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
          13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\;
          draw<2->[ultra thick, blue, latex'-] (x-2-1) -- (x-4-5);
          % Node names: (<name of matrix>-<row>-<column>)
          foreach i in 1,...,6
          draw ($(x-1-i.north west)+(-.5em,.5em)$) -- ($(x-5-i.south west)+(-.5em,-.5em)$);
          foreach i in 1,...,5
          draw ($(x-i-1.south west)+(-.5em,-.5em)$) -- ($(x-i-6.south east)+(.5em,-.5em)$);
          draw ($(x-1-1.north west)+(-.5em,.5em)$) -| ($(x-5-6.south east)+(.5em,-.5em)$);
          endtikzpicture
          endframe
          enddocument


          enter image description here






          share|improve this answer













          matrix itself is not really designed to draw tables, but with calc one can always draw any kind of line.



          documentclassbeamer
          beamertemplatenavigationsymbolsempty
          usepackageverbatim
          usepackagetikz
          usetikzlibraryarrows, arrows.meta
          usetikzlibrarymatrix,calc
          begindocument
          beginframe[t,fragile]
          frametitle
          begintikzpicture
          matrix (x) [matrix of nodes,row sep=1em,column sep=1em] %
          15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
          17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
          10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
          23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
          13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\;
          draw<2->[ultra thick, blue, latex'-] (x-2-1) -- (x-4-5);
          % Node names: (<name of matrix>-<row>-<column>)
          foreach i in 1,...,6
          draw ($(x-1-i.north west)+(-.5em,.5em)$) -- ($(x-5-i.south west)+(-.5em,-.5em)$);
          foreach i in 1,...,5
          draw ($(x-i-1.south west)+(-.5em,-.5em)$) -- ($(x-i-6.south east)+(.5em,-.5em)$);
          draw ($(x-1-1.north west)+(-.5em,.5em)$) -| ($(x-5-6.south east)+(.5em,-.5em)$);
          endtikzpicture
          endframe
          enddocument


          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 1 hour ago









          JouleVJouleV

          13k22663




          13k22663












          • @JouleVThank you very much for your answer

            – Hany
            1 hour ago

















          • @JouleVThank you very much for your answer

            – Hany
            1 hour ago
















          @JouleVThank you very much for your answer

          – Hany
          1 hour ago





          @JouleVThank you very much for your answer

          – Hany
          1 hour ago











          3














          Just for fun with some styles.



          documentclassbeamer
          beamertemplatenavigationsymbolsempty
          usepackageverbatim
          usepackagetikz
          usetikzlibraryarrows,calc
          usetikzlibrarymatrix
          begindocument
          beginframe[t,fragile]
          frametitle
          begintikzpicture[vline/.style=insert path=
          ($(x-1-#1.east)!0.5!(x-1-thenumexpr1+#1.west)$) coordinate (aux)
          (x.north-,
          hline/.style=insert path=
          ($(x-#1-1.south)!0.5!(x-thenumexpr1+#1relax-1.north)$) coordinate (aux)
          (x.west]
          matrix (x) [matrix of nodes,row sep=1em,column sep=1em] %
          15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
          17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
          10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
          23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
          13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\;
          draw[vline/.list=1,...,5,hline/.list=1,...,4] (x.north west) rectangle
          (x.south east);
          draw<2->[ultra thick, blue, latex'-] (x-2-1) -- (x-4-5);
          % Node names: (<name of matrix>-<row>-<column>)
          endtikzpicture
          endframe
          enddocument


          enter image description here






          share|improve this answer























          • @marmotThank you very much for your valuable answer

            – Hany
            44 mins ago
















          3














          Just for fun with some styles.



          documentclassbeamer
          beamertemplatenavigationsymbolsempty
          usepackageverbatim
          usepackagetikz
          usetikzlibraryarrows,calc
          usetikzlibrarymatrix
          begindocument
          beginframe[t,fragile]
          frametitle
          begintikzpicture[vline/.style=insert path=
          ($(x-1-#1.east)!0.5!(x-1-thenumexpr1+#1.west)$) coordinate (aux)
          (x.north-,
          hline/.style=insert path=
          ($(x-#1-1.south)!0.5!(x-thenumexpr1+#1relax-1.north)$) coordinate (aux)
          (x.west]
          matrix (x) [matrix of nodes,row sep=1em,column sep=1em] %
          15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
          17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
          10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
          23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
          13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\;
          draw[vline/.list=1,...,5,hline/.list=1,...,4] (x.north west) rectangle
          (x.south east);
          draw<2->[ultra thick, blue, latex'-] (x-2-1) -- (x-4-5);
          % Node names: (<name of matrix>-<row>-<column>)
          endtikzpicture
          endframe
          enddocument


          enter image description here






          share|improve this answer























          • @marmotThank you very much for your valuable answer

            – Hany
            44 mins ago














          3












          3








          3







          Just for fun with some styles.



          documentclassbeamer
          beamertemplatenavigationsymbolsempty
          usepackageverbatim
          usepackagetikz
          usetikzlibraryarrows,calc
          usetikzlibrarymatrix
          begindocument
          beginframe[t,fragile]
          frametitle
          begintikzpicture[vline/.style=insert path=
          ($(x-1-#1.east)!0.5!(x-1-thenumexpr1+#1.west)$) coordinate (aux)
          (x.north-,
          hline/.style=insert path=
          ($(x-#1-1.south)!0.5!(x-thenumexpr1+#1relax-1.north)$) coordinate (aux)
          (x.west]
          matrix (x) [matrix of nodes,row sep=1em,column sep=1em] %
          15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
          17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
          10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
          23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
          13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\;
          draw[vline/.list=1,...,5,hline/.list=1,...,4] (x.north west) rectangle
          (x.south east);
          draw<2->[ultra thick, blue, latex'-] (x-2-1) -- (x-4-5);
          % Node names: (<name of matrix>-<row>-<column>)
          endtikzpicture
          endframe
          enddocument


          enter image description here






          share|improve this answer













          Just for fun with some styles.



          documentclassbeamer
          beamertemplatenavigationsymbolsempty
          usepackageverbatim
          usepackagetikz
          usetikzlibraryarrows,calc
          usetikzlibrarymatrix
          begindocument
          beginframe[t,fragile]
          frametitle
          begintikzpicture[vline/.style=insert path=
          ($(x-1-#1.east)!0.5!(x-1-thenumexpr1+#1.west)$) coordinate (aux)
          (x.north-,
          hline/.style=insert path=
          ($(x-#1-1.south)!0.5!(x-thenumexpr1+#1relax-1.north)$) coordinate (aux)
          (x.west]
          matrix (x) [matrix of nodes,row sep=1em,column sep=1em] %
          15.1 & 23.7 & 19.7 & 15.4 & 18.3 & 23.0\
          17.4 & 18.6 & 12.9 & 20.3 & 13.7 & 21.4\
          10.3 & 26.1 & 15.7 & 14.0 & 17.8 & 33.8\
          23.2 & 12.9 & 29.8 & 18.3 & 14.2 & 20.8\
          13.5 & 17.1 & 20.7 & 27.1 & 18.9 & 16.6\;
          draw[vline/.list=1,...,5,hline/.list=1,...,4] (x.north west) rectangle
          (x.south east);
          draw<2->[ultra thick, blue, latex'-] (x-2-1) -- (x-4-5);
          % Node names: (<name of matrix>-<row>-<column>)
          endtikzpicture
          endframe
          enddocument


          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 58 mins ago









          marmotmarmot

          117k6150283




          117k6150283












          • @marmotThank you very much for your valuable answer

            – Hany
            44 mins ago


















          • @marmotThank you very much for your valuable answer

            – Hany
            44 mins ago

















          @marmotThank you very much for your valuable answer

          – Hany
          44 mins ago






          @marmotThank you very much for your valuable answer

          – Hany
          44 mins ago


















          draft saved

          draft discarded
















































          Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f484606%2fseparating-matrix-elements-by-lines%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          3agJC wHHvS1IEyvsf9Gem,fe8Jm9V YLf,szJHbZ9QAP6MS
          kP,HTi7W

          Popular posts from this blog

          Creating centerline of river in QGIS? The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Finding centrelines from polygons in QGIS?Splitting line into two lines with GRASS GIS?Centroid of the equator and a pointpostgis: problems creating flow direction polyline; not all needed connections are drawnhow to make decent sense from scattered river depth measurementsQGIS Interpolation on Curved Grid (River DEMs)How to create automatic parking baysShortest path creation between two linesclipping layer using query builder in QGISFinding which side of closest polyline point lies on in QGIS?Create centerline from multi-digitized roadway lines Qgis 2.18Getting bathymetric contours confined only within river banks using QGIS?

          What is the result of assigning to std::vector::begin()? The Next CEO of Stack OverflowWhat are the differences between a pointer variable and a reference variable in C++?What does the explicit keyword mean?Concatenating two std::vectorsHow to find out if an item is present in a std::vector?Why is “using namespace std” considered bad practice?What is the “-->” operator in C++?What is the easiest way to initialize a std::vector with hardcoded elements?What is The Rule of Three?What are the basic rules and idioms for operator overloading?Why are std::begin and std::end “not memory safe”?