How to draw a circle in a matrix like this?

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











up vote
4
down vote

favorite












I came across matrices like this in a book. Can I create this using pure latex commands or do I need to using something like Photoshop for help?



enter image description here




Update: I've created the equation without circle like this:



documentclass[a4paper,12pt,hidelinks]article
usepackagemathtools
begindocument
titleTitle of the doc
authorme
datetoday
maketitle
sectionExample

beginequation*
beginvmatrix*[c]
a_11 & a_12 & cdots & a_1n \
& a_22 & cdots & a_2n \
&& ddots & vdots \
&&& a_nn
endvmatrix* =
beginvmatrix*[c]
a_11 &&& \
a_21 & a_22 && \
vdots & vdots & ddots & \
a_n1 & a_n2 & cdots & a_nn
endvmatrix* =
a_11a_22 dots a_nn
endequation*

enddocument


enter image description here










share|improve this question









New contributor




Ogrish Man is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 1




    Welcome to TeX.SE! You certainly do not need photoshop for this. Could you please provide us with the code for the matrices without the "circle"?
    – marmot
    23 hours ago










  • OK, yes, let me do it and update the question. I just learned latex a few hours ago and this is a good chance to practice :)
    – Ogrish Man
    23 hours ago










  • The solution has been written long time ago here.
    – Artificial Stupidity
    23 hours ago














up vote
4
down vote

favorite












I came across matrices like this in a book. Can I create this using pure latex commands or do I need to using something like Photoshop for help?



enter image description here




Update: I've created the equation without circle like this:



documentclass[a4paper,12pt,hidelinks]article
usepackagemathtools
begindocument
titleTitle of the doc
authorme
datetoday
maketitle
sectionExample

beginequation*
beginvmatrix*[c]
a_11 & a_12 & cdots & a_1n \
& a_22 & cdots & a_2n \
&& ddots & vdots \
&&& a_nn
endvmatrix* =
beginvmatrix*[c]
a_11 &&& \
a_21 & a_22 && \
vdots & vdots & ddots & \
a_n1 & a_n2 & cdots & a_nn
endvmatrix* =
a_11a_22 dots a_nn
endequation*

enddocument


enter image description here










share|improve this question









New contributor




Ogrish Man is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 1




    Welcome to TeX.SE! You certainly do not need photoshop for this. Could you please provide us with the code for the matrices without the "circle"?
    – marmot
    23 hours ago










  • OK, yes, let me do it and update the question. I just learned latex a few hours ago and this is a good chance to practice :)
    – Ogrish Man
    23 hours ago










  • The solution has been written long time ago here.
    – Artificial Stupidity
    23 hours ago












up vote
4
down vote

favorite









up vote
4
down vote

favorite











I came across matrices like this in a book. Can I create this using pure latex commands or do I need to using something like Photoshop for help?



enter image description here




Update: I've created the equation without circle like this:



documentclass[a4paper,12pt,hidelinks]article
usepackagemathtools
begindocument
titleTitle of the doc
authorme
datetoday
maketitle
sectionExample

beginequation*
beginvmatrix*[c]
a_11 & a_12 & cdots & a_1n \
& a_22 & cdots & a_2n \
&& ddots & vdots \
&&& a_nn
endvmatrix* =
beginvmatrix*[c]
a_11 &&& \
a_21 & a_22 && \
vdots & vdots & ddots & \
a_n1 & a_n2 & cdots & a_nn
endvmatrix* =
a_11a_22 dots a_nn
endequation*

enddocument


enter image description here










share|improve this question









New contributor




Ogrish Man is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I came across matrices like this in a book. Can I create this using pure latex commands or do I need to using something like Photoshop for help?



enter image description here




Update: I've created the equation without circle like this:



documentclass[a4paper,12pt,hidelinks]article
usepackagemathtools
begindocument
titleTitle of the doc
authorme
datetoday
maketitle
sectionExample

beginequation*
beginvmatrix*[c]
a_11 & a_12 & cdots & a_1n \
& a_22 & cdots & a_2n \
&& ddots & vdots \
&&& a_nn
endvmatrix* =
beginvmatrix*[c]
a_11 &&& \
a_21 & a_22 && \
vdots & vdots & ddots & \
a_n1 & a_n2 & cdots & a_nn
endvmatrix* =
a_11a_22 dots a_nn
endequation*

enddocument


enter image description here







tikz-pgf pstricks matrices tikz-matrix draw






share|improve this question









New contributor




Ogrish Man is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Ogrish Man is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 22 hours ago









J Leon V.

6,625528




6,625528






New contributor




Ogrish Man is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 23 hours ago









Ogrish Man

1234




1234




New contributor




Ogrish Man is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Ogrish Man is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Ogrish Man is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







  • 1




    Welcome to TeX.SE! You certainly do not need photoshop for this. Could you please provide us with the code for the matrices without the "circle"?
    – marmot
    23 hours ago










  • OK, yes, let me do it and update the question. I just learned latex a few hours ago and this is a good chance to practice :)
    – Ogrish Man
    23 hours ago










  • The solution has been written long time ago here.
    – Artificial Stupidity
    23 hours ago












  • 1




    Welcome to TeX.SE! You certainly do not need photoshop for this. Could you please provide us with the code for the matrices without the "circle"?
    – marmot
    23 hours ago










  • OK, yes, let me do it and update the question. I just learned latex a few hours ago and this is a good chance to practice :)
    – Ogrish Man
    23 hours ago










  • The solution has been written long time ago here.
    – Artificial Stupidity
    23 hours ago







1




1




Welcome to TeX.SE! You certainly do not need photoshop for this. Could you please provide us with the code for the matrices without the "circle"?
– marmot
23 hours ago




Welcome to TeX.SE! You certainly do not need photoshop for this. Could you please provide us with the code for the matrices without the "circle"?
– marmot
23 hours ago












OK, yes, let me do it and update the question. I just learned latex a few hours ago and this is a good chance to practice :)
– Ogrish Man
23 hours ago




OK, yes, let me do it and update the question. I just learned latex a few hours ago and this is a good chance to practice :)
– Ogrish Man
23 hours ago












The solution has been written long time ago here.
– Artificial Stupidity
23 hours ago




The solution has been written long time ago here.
– Artificial Stupidity
23 hours ago










2 Answers
2






active

oldest

votes

















up vote
5
down vote



accepted










Run with xelatex



documentclassarticle
usepackageamsmath
usepackagepstricks
begindocument
[
beginvmatrix
a_11 & a_12 & cdots & a_1n \
& a_22 & cdots & a_2n \
psellipse[rot=45](0.5,0)(0.3,0.6) & & ddots & vdots \
& & & a_nn
endvmatrix
=
beginvmatrix
a_11 & & & \
a_21 & a_22 & & psellipse[rot=45](-0.5,0.1)(0.3,0.6) \
vdots & vdots & ddots & \
a_n1 & a_n1 & cdots & a_nn
endvmatrix
= a_11, a_22cdots a_nn
]
enddocument


enter image description here



and the same with package tikz



[
beginvmatrix
a_11 & a_12 & cdots & a_1n \
& a_22 & cdots & a_2n \
tikz[overlay]draw (0.5,0) circle [x radius=3mm,y radius=6mm,rotate=45];
& & ddots &
vdots \
& & & a_nn
endvmatrix
=
beginvmatrix
a_11 & & & \
a_21 & a_22 & &
tikz[overlay]draw (-0.5,0.1) circle [x radius=3mm,y radius=6mm,rotate=45]; \
vdots & vdots & ddots & \
a_n1 & a_n1 & cdots & a_nn
endvmatrix
= a_11, a_22cdots a_nn
]





share|improve this answer






















  • Why xelatex? I get the result also with "normal" latex.
    – campa
    21 hours ago










  • With latex yes, but not with pdflatex.
    – Herbert
    21 hours ago

















up vote
5
down vote













Here is a possible way to do it with tikzmark. (UPDATE: Rotation angles of the ellipses are no longer hard coded.)



documentclass[a4paper,12pt,hidelinks]article
usepackagemathtools
usepackagetikz
usetikzlibrarytikzmark,fit,shapes.geometric,calc
begindocument
titleTitle of the doc
authorme
datetoday
maketitle
sectionExample

beginequation*
beginvmatrix*[c]
a_11 & a_12 & cdots & a_1n \
& a_22 & cdots & a_2n \
tikzmarkm1&& ddots & vdots \
&tikzmarkm2&& a_nn
endvmatrix* =
beginvmatrix*[c]
a_11 &&tikzmarkm3& \
a_21 & a_22 &&tikzmarkm4 \
vdots & vdots & ddots & \
a_n1 & a_n2 & cdots & a_nn
endvmatrix* =
a_11a_22 dots a_nn
endequation*
begintikzpicture[overlay,remember picture]
path let p1=($(pic cs:m2)-(pic cs:m1)$),n1=atan2(y1,x1) in
node[ellipse,fit=(pic cs:m1)(pic cs:m2),draw,rotate fit=n1,inner sep=0pt,
yshift=4pt];
path let p1=($(pic cs:m4)-(pic cs:m3)$),n1=atan2(y1,x1) in
node[ellipse,fit=(pic cs:m3)(pic cs:m4),draw,rotate fit=n1,inner sep=0pt];
endtikzpicture
enddocument


enter image description here






share|improve this answer






















    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: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );






    Ogrish Man is a new contributor. Be nice, and check out our Code of Conduct.









     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f450548%2fhow-to-draw-a-circle-in-a-matrix-like-this%23new-answer', 'question_page');

    );

    Post as a guest






























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    5
    down vote



    accepted










    Run with xelatex



    documentclassarticle
    usepackageamsmath
    usepackagepstricks
    begindocument
    [
    beginvmatrix
    a_11 & a_12 & cdots & a_1n \
    & a_22 & cdots & a_2n \
    psellipse[rot=45](0.5,0)(0.3,0.6) & & ddots & vdots \
    & & & a_nn
    endvmatrix
    =
    beginvmatrix
    a_11 & & & \
    a_21 & a_22 & & psellipse[rot=45](-0.5,0.1)(0.3,0.6) \
    vdots & vdots & ddots & \
    a_n1 & a_n1 & cdots & a_nn
    endvmatrix
    = a_11, a_22cdots a_nn
    ]
    enddocument


    enter image description here



    and the same with package tikz



    [
    beginvmatrix
    a_11 & a_12 & cdots & a_1n \
    & a_22 & cdots & a_2n \
    tikz[overlay]draw (0.5,0) circle [x radius=3mm,y radius=6mm,rotate=45];
    & & ddots &
    vdots \
    & & & a_nn
    endvmatrix
    =
    beginvmatrix
    a_11 & & & \
    a_21 & a_22 & &
    tikz[overlay]draw (-0.5,0.1) circle [x radius=3mm,y radius=6mm,rotate=45]; \
    vdots & vdots & ddots & \
    a_n1 & a_n1 & cdots & a_nn
    endvmatrix
    = a_11, a_22cdots a_nn
    ]





    share|improve this answer






















    • Why xelatex? I get the result also with "normal" latex.
      – campa
      21 hours ago










    • With latex yes, but not with pdflatex.
      – Herbert
      21 hours ago














    up vote
    5
    down vote



    accepted










    Run with xelatex



    documentclassarticle
    usepackageamsmath
    usepackagepstricks
    begindocument
    [
    beginvmatrix
    a_11 & a_12 & cdots & a_1n \
    & a_22 & cdots & a_2n \
    psellipse[rot=45](0.5,0)(0.3,0.6) & & ddots & vdots \
    & & & a_nn
    endvmatrix
    =
    beginvmatrix
    a_11 & & & \
    a_21 & a_22 & & psellipse[rot=45](-0.5,0.1)(0.3,0.6) \
    vdots & vdots & ddots & \
    a_n1 & a_n1 & cdots & a_nn
    endvmatrix
    = a_11, a_22cdots a_nn
    ]
    enddocument


    enter image description here



    and the same with package tikz



    [
    beginvmatrix
    a_11 & a_12 & cdots & a_1n \
    & a_22 & cdots & a_2n \
    tikz[overlay]draw (0.5,0) circle [x radius=3mm,y radius=6mm,rotate=45];
    & & ddots &
    vdots \
    & & & a_nn
    endvmatrix
    =
    beginvmatrix
    a_11 & & & \
    a_21 & a_22 & &
    tikz[overlay]draw (-0.5,0.1) circle [x radius=3mm,y radius=6mm,rotate=45]; \
    vdots & vdots & ddots & \
    a_n1 & a_n1 & cdots & a_nn
    endvmatrix
    = a_11, a_22cdots a_nn
    ]





    share|improve this answer






















    • Why xelatex? I get the result also with "normal" latex.
      – campa
      21 hours ago










    • With latex yes, but not with pdflatex.
      – Herbert
      21 hours ago












    up vote
    5
    down vote



    accepted







    up vote
    5
    down vote



    accepted






    Run with xelatex



    documentclassarticle
    usepackageamsmath
    usepackagepstricks
    begindocument
    [
    beginvmatrix
    a_11 & a_12 & cdots & a_1n \
    & a_22 & cdots & a_2n \
    psellipse[rot=45](0.5,0)(0.3,0.6) & & ddots & vdots \
    & & & a_nn
    endvmatrix
    =
    beginvmatrix
    a_11 & & & \
    a_21 & a_22 & & psellipse[rot=45](-0.5,0.1)(0.3,0.6) \
    vdots & vdots & ddots & \
    a_n1 & a_n1 & cdots & a_nn
    endvmatrix
    = a_11, a_22cdots a_nn
    ]
    enddocument


    enter image description here



    and the same with package tikz



    [
    beginvmatrix
    a_11 & a_12 & cdots & a_1n \
    & a_22 & cdots & a_2n \
    tikz[overlay]draw (0.5,0) circle [x radius=3mm,y radius=6mm,rotate=45];
    & & ddots &
    vdots \
    & & & a_nn
    endvmatrix
    =
    beginvmatrix
    a_11 & & & \
    a_21 & a_22 & &
    tikz[overlay]draw (-0.5,0.1) circle [x radius=3mm,y radius=6mm,rotate=45]; \
    vdots & vdots & ddots & \
    a_n1 & a_n1 & cdots & a_nn
    endvmatrix
    = a_11, a_22cdots a_nn
    ]





    share|improve this answer














    Run with xelatex



    documentclassarticle
    usepackageamsmath
    usepackagepstricks
    begindocument
    [
    beginvmatrix
    a_11 & a_12 & cdots & a_1n \
    & a_22 & cdots & a_2n \
    psellipse[rot=45](0.5,0)(0.3,0.6) & & ddots & vdots \
    & & & a_nn
    endvmatrix
    =
    beginvmatrix
    a_11 & & & \
    a_21 & a_22 & & psellipse[rot=45](-0.5,0.1)(0.3,0.6) \
    vdots & vdots & ddots & \
    a_n1 & a_n1 & cdots & a_nn
    endvmatrix
    = a_11, a_22cdots a_nn
    ]
    enddocument


    enter image description here



    and the same with package tikz



    [
    beginvmatrix
    a_11 & a_12 & cdots & a_1n \
    & a_22 & cdots & a_2n \
    tikz[overlay]draw (0.5,0) circle [x radius=3mm,y radius=6mm,rotate=45];
    & & ddots &
    vdots \
    & & & a_nn
    endvmatrix
    =
    beginvmatrix
    a_11 & & & \
    a_21 & a_22 & &
    tikz[overlay]draw (-0.5,0.1) circle [x radius=3mm,y radius=6mm,rotate=45]; \
    vdots & vdots & ddots & \
    a_n1 & a_n1 & cdots & a_nn
    endvmatrix
    = a_11, a_22cdots a_nn
    ]






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 21 hours ago

























    answered 22 hours ago









    Herbert

    262k21395705




    262k21395705











    • Why xelatex? I get the result also with "normal" latex.
      – campa
      21 hours ago










    • With latex yes, but not with pdflatex.
      – Herbert
      21 hours ago
















    • Why xelatex? I get the result also with "normal" latex.
      – campa
      21 hours ago










    • With latex yes, but not with pdflatex.
      – Herbert
      21 hours ago















    Why xelatex? I get the result also with "normal" latex.
    – campa
    21 hours ago




    Why xelatex? I get the result also with "normal" latex.
    – campa
    21 hours ago












    With latex yes, but not with pdflatex.
    – Herbert
    21 hours ago




    With latex yes, but not with pdflatex.
    – Herbert
    21 hours ago










    up vote
    5
    down vote













    Here is a possible way to do it with tikzmark. (UPDATE: Rotation angles of the ellipses are no longer hard coded.)



    documentclass[a4paper,12pt,hidelinks]article
    usepackagemathtools
    usepackagetikz
    usetikzlibrarytikzmark,fit,shapes.geometric,calc
    begindocument
    titleTitle of the doc
    authorme
    datetoday
    maketitle
    sectionExample

    beginequation*
    beginvmatrix*[c]
    a_11 & a_12 & cdots & a_1n \
    & a_22 & cdots & a_2n \
    tikzmarkm1&& ddots & vdots \
    &tikzmarkm2&& a_nn
    endvmatrix* =
    beginvmatrix*[c]
    a_11 &&tikzmarkm3& \
    a_21 & a_22 &&tikzmarkm4 \
    vdots & vdots & ddots & \
    a_n1 & a_n2 & cdots & a_nn
    endvmatrix* =
    a_11a_22 dots a_nn
    endequation*
    begintikzpicture[overlay,remember picture]
    path let p1=($(pic cs:m2)-(pic cs:m1)$),n1=atan2(y1,x1) in
    node[ellipse,fit=(pic cs:m1)(pic cs:m2),draw,rotate fit=n1,inner sep=0pt,
    yshift=4pt];
    path let p1=($(pic cs:m4)-(pic cs:m3)$),n1=atan2(y1,x1) in
    node[ellipse,fit=(pic cs:m3)(pic cs:m4),draw,rotate fit=n1,inner sep=0pt];
    endtikzpicture
    enddocument


    enter image description here






    share|improve this answer


























      up vote
      5
      down vote













      Here is a possible way to do it with tikzmark. (UPDATE: Rotation angles of the ellipses are no longer hard coded.)



      documentclass[a4paper,12pt,hidelinks]article
      usepackagemathtools
      usepackagetikz
      usetikzlibrarytikzmark,fit,shapes.geometric,calc
      begindocument
      titleTitle of the doc
      authorme
      datetoday
      maketitle
      sectionExample

      beginequation*
      beginvmatrix*[c]
      a_11 & a_12 & cdots & a_1n \
      & a_22 & cdots & a_2n \
      tikzmarkm1&& ddots & vdots \
      &tikzmarkm2&& a_nn
      endvmatrix* =
      beginvmatrix*[c]
      a_11 &&tikzmarkm3& \
      a_21 & a_22 &&tikzmarkm4 \
      vdots & vdots & ddots & \
      a_n1 & a_n2 & cdots & a_nn
      endvmatrix* =
      a_11a_22 dots a_nn
      endequation*
      begintikzpicture[overlay,remember picture]
      path let p1=($(pic cs:m2)-(pic cs:m1)$),n1=atan2(y1,x1) in
      node[ellipse,fit=(pic cs:m1)(pic cs:m2),draw,rotate fit=n1,inner sep=0pt,
      yshift=4pt];
      path let p1=($(pic cs:m4)-(pic cs:m3)$),n1=atan2(y1,x1) in
      node[ellipse,fit=(pic cs:m3)(pic cs:m4),draw,rotate fit=n1,inner sep=0pt];
      endtikzpicture
      enddocument


      enter image description here






      share|improve this answer
























        up vote
        5
        down vote










        up vote
        5
        down vote









        Here is a possible way to do it with tikzmark. (UPDATE: Rotation angles of the ellipses are no longer hard coded.)



        documentclass[a4paper,12pt,hidelinks]article
        usepackagemathtools
        usepackagetikz
        usetikzlibrarytikzmark,fit,shapes.geometric,calc
        begindocument
        titleTitle of the doc
        authorme
        datetoday
        maketitle
        sectionExample

        beginequation*
        beginvmatrix*[c]
        a_11 & a_12 & cdots & a_1n \
        & a_22 & cdots & a_2n \
        tikzmarkm1&& ddots & vdots \
        &tikzmarkm2&& a_nn
        endvmatrix* =
        beginvmatrix*[c]
        a_11 &&tikzmarkm3& \
        a_21 & a_22 &&tikzmarkm4 \
        vdots & vdots & ddots & \
        a_n1 & a_n2 & cdots & a_nn
        endvmatrix* =
        a_11a_22 dots a_nn
        endequation*
        begintikzpicture[overlay,remember picture]
        path let p1=($(pic cs:m2)-(pic cs:m1)$),n1=atan2(y1,x1) in
        node[ellipse,fit=(pic cs:m1)(pic cs:m2),draw,rotate fit=n1,inner sep=0pt,
        yshift=4pt];
        path let p1=($(pic cs:m4)-(pic cs:m3)$),n1=atan2(y1,x1) in
        node[ellipse,fit=(pic cs:m3)(pic cs:m4),draw,rotate fit=n1,inner sep=0pt];
        endtikzpicture
        enddocument


        enter image description here






        share|improve this answer














        Here is a possible way to do it with tikzmark. (UPDATE: Rotation angles of the ellipses are no longer hard coded.)



        documentclass[a4paper,12pt,hidelinks]article
        usepackagemathtools
        usepackagetikz
        usetikzlibrarytikzmark,fit,shapes.geometric,calc
        begindocument
        titleTitle of the doc
        authorme
        datetoday
        maketitle
        sectionExample

        beginequation*
        beginvmatrix*[c]
        a_11 & a_12 & cdots & a_1n \
        & a_22 & cdots & a_2n \
        tikzmarkm1&& ddots & vdots \
        &tikzmarkm2&& a_nn
        endvmatrix* =
        beginvmatrix*[c]
        a_11 &&tikzmarkm3& \
        a_21 & a_22 &&tikzmarkm4 \
        vdots & vdots & ddots & \
        a_n1 & a_n2 & cdots & a_nn
        endvmatrix* =
        a_11a_22 dots a_nn
        endequation*
        begintikzpicture[overlay,remember picture]
        path let p1=($(pic cs:m2)-(pic cs:m1)$),n1=atan2(y1,x1) in
        node[ellipse,fit=(pic cs:m1)(pic cs:m2),draw,rotate fit=n1,inner sep=0pt,
        yshift=4pt];
        path let p1=($(pic cs:m4)-(pic cs:m3)$),n1=atan2(y1,x1) in
        node[ellipse,fit=(pic cs:m3)(pic cs:m4),draw,rotate fit=n1,inner sep=0pt];
        endtikzpicture
        enddocument


        enter image description here







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 22 hours ago

























        answered 23 hours ago









        marmot

        56.9k462124




        56.9k462124




















            Ogrish Man is a new contributor. Be nice, and check out our Code of Conduct.









             

            draft saved


            draft discarded


















            Ogrish Man is a new contributor. Be nice, and check out our Code of Conduct.












            Ogrish Man is a new contributor. Be nice, and check out our Code of Conduct.











            Ogrish Man is a new contributor. Be nice, and check out our Code of Conduct.













             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f450548%2fhow-to-draw-a-circle-in-a-matrix-like-this%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            List of Gilmore Girls characters

            What does second last employer means? [closed]

            One-line joke