How to produce a more sophisticated pie chart?How would you produce the following exact hexagon?How can I...

Active low-pass filters --- good to what frequencies?

What setting controls moving the cursor on the command line?

What makes Ada the language of choice for the ISS's safety-critical systems?

Should I give professor gift at the beginning of my PhD?

How can this tool find out registered domains from an IP?

Which languages would be most useful in Europe at the end of the 19th century?

What is the actual quality of machine translations?

With Ubuntu 18.04, how can I have a hot corner that locks the computer?

Winning Strategy for the Magician and his Apprentice

Getting UPS Power from One Room to Another

Soft question: Examples where lack of mathematical rigour cause security breaches?

How come the nude protesters were not arrested?

What speaks against investing in precious metals?

Group Integers by Originality

Is White controlling this game?

What is the purpose of the goat for Azazel, as opposed to conventional offerings?

Are there any important biographies of nobodies?

Union with anonymous struct with flexible array member

Does the Long March-11 increase its thrust after clearing the launch tower?

How can I get an unreasonable manager to approve time off?

Jargon request: "Canonical Form" of a word

Switch "when" cannot see constants?

Playing a Character as Unobtrusive and Subservient, Yet Not Passive

How to handle self harm scars on the arm in work environment?



How to produce a more sophisticated pie chart?


How would you produce the following exact hexagon?How can I produce a Hasse (or lattice) diagram?polar chart heat mapModify Pie Charts (delete the labels)Pie Chart with datatoolAdding an implication to a chartLine up nested tikz enviroments or how to get rid of themHow to start with this difficult chartTikZ: How to modify pie chart with individually adjustable colors and point number percentages?Customizing Half Pie Chart Labels with tikz













3















I do not know how to make a pie-chart as the one pictured below, which I drew by hand. I tried using "pgf-pie" for that, but it does not really work as I intend. Could you help me?



enter image description here



documentclass{article}
usepackage{pgf-pie}

newcommand{QR}[1][n]{mathcal{QR}_{#1}}
newcommand{QNR}[1][n]{mathcal{QNR}_{#1}}
newcommand{QNRP}{mathcal{QNR}_n^{+1}}
newcommand{JNP}{mathcal{J}_n^{+1}}
newcommand{JNM}{mathcal{J}_n^{-1}}

begin{document}

begin{tikzpicture}[scale=1.25]

pie [rotate = 90, text=inside, color = {yellow!50, green!50}, scale font]
{75/$QR[n]$,
25/$QNR[n]$}

end{tikzpicture}

end{document}









share|improve this question





























    3















    I do not know how to make a pie-chart as the one pictured below, which I drew by hand. I tried using "pgf-pie" for that, but it does not really work as I intend. Could you help me?



    enter image description here



    documentclass{article}
    usepackage{pgf-pie}

    newcommand{QR}[1][n]{mathcal{QR}_{#1}}
    newcommand{QNR}[1][n]{mathcal{QNR}_{#1}}
    newcommand{QNRP}{mathcal{QNR}_n^{+1}}
    newcommand{JNP}{mathcal{J}_n^{+1}}
    newcommand{JNM}{mathcal{J}_n^{-1}}

    begin{document}

    begin{tikzpicture}[scale=1.25]

    pie [rotate = 90, text=inside, color = {yellow!50, green!50}, scale font]
    {75/$QR[n]$,
    25/$QNR[n]$}

    end{tikzpicture}

    end{document}









    share|improve this question



























      3












      3








      3








      I do not know how to make a pie-chart as the one pictured below, which I drew by hand. I tried using "pgf-pie" for that, but it does not really work as I intend. Could you help me?



      enter image description here



      documentclass{article}
      usepackage{pgf-pie}

      newcommand{QR}[1][n]{mathcal{QR}_{#1}}
      newcommand{QNR}[1][n]{mathcal{QNR}_{#1}}
      newcommand{QNRP}{mathcal{QNR}_n^{+1}}
      newcommand{JNP}{mathcal{J}_n^{+1}}
      newcommand{JNM}{mathcal{J}_n^{-1}}

      begin{document}

      begin{tikzpicture}[scale=1.25]

      pie [rotate = 90, text=inside, color = {yellow!50, green!50}, scale font]
      {75/$QR[n]$,
      25/$QNR[n]$}

      end{tikzpicture}

      end{document}









      share|improve this question
















      I do not know how to make a pie-chart as the one pictured below, which I drew by hand. I tried using "pgf-pie" for that, but it does not really work as I intend. Could you help me?



      enter image description here



      documentclass{article}
      usepackage{pgf-pie}

      newcommand{QR}[1][n]{mathcal{QR}_{#1}}
      newcommand{QNR}[1][n]{mathcal{QNR}_{#1}}
      newcommand{QNRP}{mathcal{QNR}_n^{+1}}
      newcommand{JNP}{mathcal{J}_n^{+1}}
      newcommand{JNM}{mathcal{J}_n^{-1}}

      begin{document}

      begin{tikzpicture}[scale=1.25]

      pie [rotate = 90, text=inside, color = {yellow!50, green!50}, scale font]
      {75/$QR[n]$,
      25/$QNR[n]$}

      end{tikzpicture}

      end{document}






      diagrams






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 9 hours ago









      AboAmmar

      35.6k32985




      35.6k32985










      asked 9 hours ago









      3nondatur3nondatur

      1255




      1255






















          3 Answers
          3






          active

          oldest

          votes


















          6














          With plain TikZ you could do



          documentclass[tikz,border=3.14mm]{standalone}
          usepackage{amssymb}
          newcommand{QNR}[1][n]{mathcal{QNR}_{#1}}
          newcommand{QNRP}{mathcal{QNR}_n^{+1}}
          begin{document}
          begin{tikzpicture}[declare function={R=2;}]
          fill[blue!30] (0,R) arc(90:270:R);
          fill[yellow] (0,R) arc(90:-90:R);
          draw (0,0) circle[radius=R] (-R,0) node[left] {$+1$} -| (0,R) node[above] {$mathbb{Z}/nmathbb{Z}$};
          path (135:R/2) node {$QNR$} (-90:R/2) node {$QNRP$} (0:R) node[right] {$-1$} ;
          end{tikzpicture}
          end{document}


          enter image description here






          share|improve this answer


























          • +1 for declare function! I have not been aware for this possibilitiy.

            – Zarko
            8 hours ago











          • @Zarko Thanks! Note that there is one possible caveat: it is somewhat less straightforward to "undeclare" functions, though possible. That is, if you use several of those in your tikzpictures, try to use them locally in scopes. Never declare them globally outside the tikzpicture.

            – marmot
            8 hours ago











          • thank you for info. For purpose as declare function is used in your answer so far I use defR{...}, which also have some limitations.

            – Zarko
            7 hours ago











          • @Zarko Yes, sure. You should never define single-letter macros. For instance, xelatex defines some of those without telling you. The above was just a remark that one may not overdo it with these declare functions, but here it is fine IMHO.

            – marmot
            7 hours ago



















          2














          a small variation of @marmot answer:



          documentclass[tikz, margin=3mm]{standalone}
          usepackage{newtxtext,newtxmath}
          newcommand{QNR}[1][n]{mathcal{QNR}_{#1}}
          newcommand{QNRP}{mathcal{QNR}_n^{+1}}

          begin{document}

          begin{tikzpicture}[declare function={R=16mm;}]
          node[circle, draw, fill=yellow!30, minimum size=2*R,
          label=left: $+1$,
          label=right:$-1$,
          label=$mathbb{Z}/nmathbb{Z}$] (C) {};
          draw[fill=green!30] (C.south) arc (270:90:R);
          draw (C.west) arc (180:90:R) |- cycle;
          node[below=R/2mm] {$QNRP$};
          node[above left=R/2mm] {$QNR$};
          end{tikzpicture}

          end{document}


          enter image description here






          share|improve this answer































            1














            A pstricks solution:



            documentclass[border=5pt, svgnames]{standalone}
            usepackage{amsfonts}
            usepackage{pst-node, pstricks-add}
            usepackage{auto-pst-pdf}

            newcommand{QR}[1][n]{ensuremath{mathcal{QR}_{#1}}}
            newcommand{QNR}[1][n]{ensuremath{mathcal{QNR}_{#1}}}
            newcommand{QNRP}{ensuremath{mathcal{QNR}_n^{+1}}}
            newcommand{JNP}{ensuremath{mathcal{J}_n^{+1}}}
            newcommand{JNM}{ensuremath{mathcal{J}_n^{-1}}}

            begin{document}

            begin{pspicture}(-2.5,-2)(2.5,2.5)
            psChart[userColor={Yellow!50, LightSteelBlue!80, LightSteelBlue!80,Yellow!50,}]{1,1,1,1}{}{2}
            pscircle(0,0){2}
            psline(2;90)(0,0)(2;180)
            rput[B](1.1;140){QR} rput[B](1.1;-90){QNR}
            uput[r](2;0){$-1$}uput[l](2;180){$+1$}
            uput[u](2;90){$mathbb{Z}/ nmathbb{Z}$}
            end{pspicture}

            end{document}


            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',
              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%2f494383%2fhow-to-produce-a-more-sophisticated-pie-chart%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              6














              With plain TikZ you could do



              documentclass[tikz,border=3.14mm]{standalone}
              usepackage{amssymb}
              newcommand{QNR}[1][n]{mathcal{QNR}_{#1}}
              newcommand{QNRP}{mathcal{QNR}_n^{+1}}
              begin{document}
              begin{tikzpicture}[declare function={R=2;}]
              fill[blue!30] (0,R) arc(90:270:R);
              fill[yellow] (0,R) arc(90:-90:R);
              draw (0,0) circle[radius=R] (-R,0) node[left] {$+1$} -| (0,R) node[above] {$mathbb{Z}/nmathbb{Z}$};
              path (135:R/2) node {$QNR$} (-90:R/2) node {$QNRP$} (0:R) node[right] {$-1$} ;
              end{tikzpicture}
              end{document}


              enter image description here






              share|improve this answer


























              • +1 for declare function! I have not been aware for this possibilitiy.

                – Zarko
                8 hours ago











              • @Zarko Thanks! Note that there is one possible caveat: it is somewhat less straightforward to "undeclare" functions, though possible. That is, if you use several of those in your tikzpictures, try to use them locally in scopes. Never declare them globally outside the tikzpicture.

                – marmot
                8 hours ago











              • thank you for info. For purpose as declare function is used in your answer so far I use defR{...}, which also have some limitations.

                – Zarko
                7 hours ago











              • @Zarko Yes, sure. You should never define single-letter macros. For instance, xelatex defines some of those without telling you. The above was just a remark that one may not overdo it with these declare functions, but here it is fine IMHO.

                – marmot
                7 hours ago
















              6














              With plain TikZ you could do



              documentclass[tikz,border=3.14mm]{standalone}
              usepackage{amssymb}
              newcommand{QNR}[1][n]{mathcal{QNR}_{#1}}
              newcommand{QNRP}{mathcal{QNR}_n^{+1}}
              begin{document}
              begin{tikzpicture}[declare function={R=2;}]
              fill[blue!30] (0,R) arc(90:270:R);
              fill[yellow] (0,R) arc(90:-90:R);
              draw (0,0) circle[radius=R] (-R,0) node[left] {$+1$} -| (0,R) node[above] {$mathbb{Z}/nmathbb{Z}$};
              path (135:R/2) node {$QNR$} (-90:R/2) node {$QNRP$} (0:R) node[right] {$-1$} ;
              end{tikzpicture}
              end{document}


              enter image description here






              share|improve this answer


























              • +1 for declare function! I have not been aware for this possibilitiy.

                – Zarko
                8 hours ago











              • @Zarko Thanks! Note that there is one possible caveat: it is somewhat less straightforward to "undeclare" functions, though possible. That is, if you use several of those in your tikzpictures, try to use them locally in scopes. Never declare them globally outside the tikzpicture.

                – marmot
                8 hours ago











              • thank you for info. For purpose as declare function is used in your answer so far I use defR{...}, which also have some limitations.

                – Zarko
                7 hours ago











              • @Zarko Yes, sure. You should never define single-letter macros. For instance, xelatex defines some of those without telling you. The above was just a remark that one may not overdo it with these declare functions, but here it is fine IMHO.

                – marmot
                7 hours ago














              6












              6








              6







              With plain TikZ you could do



              documentclass[tikz,border=3.14mm]{standalone}
              usepackage{amssymb}
              newcommand{QNR}[1][n]{mathcal{QNR}_{#1}}
              newcommand{QNRP}{mathcal{QNR}_n^{+1}}
              begin{document}
              begin{tikzpicture}[declare function={R=2;}]
              fill[blue!30] (0,R) arc(90:270:R);
              fill[yellow] (0,R) arc(90:-90:R);
              draw (0,0) circle[radius=R] (-R,0) node[left] {$+1$} -| (0,R) node[above] {$mathbb{Z}/nmathbb{Z}$};
              path (135:R/2) node {$QNR$} (-90:R/2) node {$QNRP$} (0:R) node[right] {$-1$} ;
              end{tikzpicture}
              end{document}


              enter image description here






              share|improve this answer















              With plain TikZ you could do



              documentclass[tikz,border=3.14mm]{standalone}
              usepackage{amssymb}
              newcommand{QNR}[1][n]{mathcal{QNR}_{#1}}
              newcommand{QNRP}{mathcal{QNR}_n^{+1}}
              begin{document}
              begin{tikzpicture}[declare function={R=2;}]
              fill[blue!30] (0,R) arc(90:270:R);
              fill[yellow] (0,R) arc(90:-90:R);
              draw (0,0) circle[radius=R] (-R,0) node[left] {$+1$} -| (0,R) node[above] {$mathbb{Z}/nmathbb{Z}$};
              path (135:R/2) node {$QNR$} (-90:R/2) node {$QNRP$} (0:R) node[right] {$-1$} ;
              end{tikzpicture}
              end{document}


              enter image description here







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited 8 hours ago

























              answered 9 hours ago









              marmotmarmot

              133k6171320




              133k6171320













              • +1 for declare function! I have not been aware for this possibilitiy.

                – Zarko
                8 hours ago











              • @Zarko Thanks! Note that there is one possible caveat: it is somewhat less straightforward to "undeclare" functions, though possible. That is, if you use several of those in your tikzpictures, try to use them locally in scopes. Never declare them globally outside the tikzpicture.

                – marmot
                8 hours ago











              • thank you for info. For purpose as declare function is used in your answer so far I use defR{...}, which also have some limitations.

                – Zarko
                7 hours ago











              • @Zarko Yes, sure. You should never define single-letter macros. For instance, xelatex defines some of those without telling you. The above was just a remark that one may not overdo it with these declare functions, but here it is fine IMHO.

                – marmot
                7 hours ago



















              • +1 for declare function! I have not been aware for this possibilitiy.

                – Zarko
                8 hours ago











              • @Zarko Thanks! Note that there is one possible caveat: it is somewhat less straightforward to "undeclare" functions, though possible. That is, if you use several of those in your tikzpictures, try to use them locally in scopes. Never declare them globally outside the tikzpicture.

                – marmot
                8 hours ago











              • thank you for info. For purpose as declare function is used in your answer so far I use defR{...}, which also have some limitations.

                – Zarko
                7 hours ago











              • @Zarko Yes, sure. You should never define single-letter macros. For instance, xelatex defines some of those without telling you. The above was just a remark that one may not overdo it with these declare functions, but here it is fine IMHO.

                – marmot
                7 hours ago

















              +1 for declare function! I have not been aware for this possibilitiy.

              – Zarko
              8 hours ago





              +1 for declare function! I have not been aware for this possibilitiy.

              – Zarko
              8 hours ago













              @Zarko Thanks! Note that there is one possible caveat: it is somewhat less straightforward to "undeclare" functions, though possible. That is, if you use several of those in your tikzpictures, try to use them locally in scopes. Never declare them globally outside the tikzpicture.

              – marmot
              8 hours ago





              @Zarko Thanks! Note that there is one possible caveat: it is somewhat less straightforward to "undeclare" functions, though possible. That is, if you use several of those in your tikzpictures, try to use them locally in scopes. Never declare them globally outside the tikzpicture.

              – marmot
              8 hours ago













              thank you for info. For purpose as declare function is used in your answer so far I use defR{...}, which also have some limitations.

              – Zarko
              7 hours ago





              thank you for info. For purpose as declare function is used in your answer so far I use defR{...}, which also have some limitations.

              – Zarko
              7 hours ago













              @Zarko Yes, sure. You should never define single-letter macros. For instance, xelatex defines some of those without telling you. The above was just a remark that one may not overdo it with these declare functions, but here it is fine IMHO.

              – marmot
              7 hours ago





              @Zarko Yes, sure. You should never define single-letter macros. For instance, xelatex defines some of those without telling you. The above was just a remark that one may not overdo it with these declare functions, but here it is fine IMHO.

              – marmot
              7 hours ago











              2














              a small variation of @marmot answer:



              documentclass[tikz, margin=3mm]{standalone}
              usepackage{newtxtext,newtxmath}
              newcommand{QNR}[1][n]{mathcal{QNR}_{#1}}
              newcommand{QNRP}{mathcal{QNR}_n^{+1}}

              begin{document}

              begin{tikzpicture}[declare function={R=16mm;}]
              node[circle, draw, fill=yellow!30, minimum size=2*R,
              label=left: $+1$,
              label=right:$-1$,
              label=$mathbb{Z}/nmathbb{Z}$] (C) {};
              draw[fill=green!30] (C.south) arc (270:90:R);
              draw (C.west) arc (180:90:R) |- cycle;
              node[below=R/2mm] {$QNRP$};
              node[above left=R/2mm] {$QNR$};
              end{tikzpicture}

              end{document}


              enter image description here






              share|improve this answer




























                2














                a small variation of @marmot answer:



                documentclass[tikz, margin=3mm]{standalone}
                usepackage{newtxtext,newtxmath}
                newcommand{QNR}[1][n]{mathcal{QNR}_{#1}}
                newcommand{QNRP}{mathcal{QNR}_n^{+1}}

                begin{document}

                begin{tikzpicture}[declare function={R=16mm;}]
                node[circle, draw, fill=yellow!30, minimum size=2*R,
                label=left: $+1$,
                label=right:$-1$,
                label=$mathbb{Z}/nmathbb{Z}$] (C) {};
                draw[fill=green!30] (C.south) arc (270:90:R);
                draw (C.west) arc (180:90:R) |- cycle;
                node[below=R/2mm] {$QNRP$};
                node[above left=R/2mm] {$QNR$};
                end{tikzpicture}

                end{document}


                enter image description here






                share|improve this answer


























                  2












                  2








                  2







                  a small variation of @marmot answer:



                  documentclass[tikz, margin=3mm]{standalone}
                  usepackage{newtxtext,newtxmath}
                  newcommand{QNR}[1][n]{mathcal{QNR}_{#1}}
                  newcommand{QNRP}{mathcal{QNR}_n^{+1}}

                  begin{document}

                  begin{tikzpicture}[declare function={R=16mm;}]
                  node[circle, draw, fill=yellow!30, minimum size=2*R,
                  label=left: $+1$,
                  label=right:$-1$,
                  label=$mathbb{Z}/nmathbb{Z}$] (C) {};
                  draw[fill=green!30] (C.south) arc (270:90:R);
                  draw (C.west) arc (180:90:R) |- cycle;
                  node[below=R/2mm] {$QNRP$};
                  node[above left=R/2mm] {$QNR$};
                  end{tikzpicture}

                  end{document}


                  enter image description here






                  share|improve this answer













                  a small variation of @marmot answer:



                  documentclass[tikz, margin=3mm]{standalone}
                  usepackage{newtxtext,newtxmath}
                  newcommand{QNR}[1][n]{mathcal{QNR}_{#1}}
                  newcommand{QNRP}{mathcal{QNR}_n^{+1}}

                  begin{document}

                  begin{tikzpicture}[declare function={R=16mm;}]
                  node[circle, draw, fill=yellow!30, minimum size=2*R,
                  label=left: $+1$,
                  label=right:$-1$,
                  label=$mathbb{Z}/nmathbb{Z}$] (C) {};
                  draw[fill=green!30] (C.south) arc (270:90:R);
                  draw (C.west) arc (180:90:R) |- cycle;
                  node[below=R/2mm] {$QNRP$};
                  node[above left=R/2mm] {$QNR$};
                  end{tikzpicture}

                  end{document}


                  enter image description here







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 8 hours ago









                  ZarkoZarko

                  137k872180




                  137k872180























                      1














                      A pstricks solution:



                      documentclass[border=5pt, svgnames]{standalone}
                      usepackage{amsfonts}
                      usepackage{pst-node, pstricks-add}
                      usepackage{auto-pst-pdf}

                      newcommand{QR}[1][n]{ensuremath{mathcal{QR}_{#1}}}
                      newcommand{QNR}[1][n]{ensuremath{mathcal{QNR}_{#1}}}
                      newcommand{QNRP}{ensuremath{mathcal{QNR}_n^{+1}}}
                      newcommand{JNP}{ensuremath{mathcal{J}_n^{+1}}}
                      newcommand{JNM}{ensuremath{mathcal{J}_n^{-1}}}

                      begin{document}

                      begin{pspicture}(-2.5,-2)(2.5,2.5)
                      psChart[userColor={Yellow!50, LightSteelBlue!80, LightSteelBlue!80,Yellow!50,}]{1,1,1,1}{}{2}
                      pscircle(0,0){2}
                      psline(2;90)(0,0)(2;180)
                      rput[B](1.1;140){QR} rput[B](1.1;-90){QNR}
                      uput[r](2;0){$-1$}uput[l](2;180){$+1$}
                      uput[u](2;90){$mathbb{Z}/ nmathbb{Z}$}
                      end{pspicture}

                      end{document}


                      enter image description here






                      share|improve this answer




























                        1














                        A pstricks solution:



                        documentclass[border=5pt, svgnames]{standalone}
                        usepackage{amsfonts}
                        usepackage{pst-node, pstricks-add}
                        usepackage{auto-pst-pdf}

                        newcommand{QR}[1][n]{ensuremath{mathcal{QR}_{#1}}}
                        newcommand{QNR}[1][n]{ensuremath{mathcal{QNR}_{#1}}}
                        newcommand{QNRP}{ensuremath{mathcal{QNR}_n^{+1}}}
                        newcommand{JNP}{ensuremath{mathcal{J}_n^{+1}}}
                        newcommand{JNM}{ensuremath{mathcal{J}_n^{-1}}}

                        begin{document}

                        begin{pspicture}(-2.5,-2)(2.5,2.5)
                        psChart[userColor={Yellow!50, LightSteelBlue!80, LightSteelBlue!80,Yellow!50,}]{1,1,1,1}{}{2}
                        pscircle(0,0){2}
                        psline(2;90)(0,0)(2;180)
                        rput[B](1.1;140){QR} rput[B](1.1;-90){QNR}
                        uput[r](2;0){$-1$}uput[l](2;180){$+1$}
                        uput[u](2;90){$mathbb{Z}/ nmathbb{Z}$}
                        end{pspicture}

                        end{document}


                        enter image description here






                        share|improve this answer


























                          1












                          1








                          1







                          A pstricks solution:



                          documentclass[border=5pt, svgnames]{standalone}
                          usepackage{amsfonts}
                          usepackage{pst-node, pstricks-add}
                          usepackage{auto-pst-pdf}

                          newcommand{QR}[1][n]{ensuremath{mathcal{QR}_{#1}}}
                          newcommand{QNR}[1][n]{ensuremath{mathcal{QNR}_{#1}}}
                          newcommand{QNRP}{ensuremath{mathcal{QNR}_n^{+1}}}
                          newcommand{JNP}{ensuremath{mathcal{J}_n^{+1}}}
                          newcommand{JNM}{ensuremath{mathcal{J}_n^{-1}}}

                          begin{document}

                          begin{pspicture}(-2.5,-2)(2.5,2.5)
                          psChart[userColor={Yellow!50, LightSteelBlue!80, LightSteelBlue!80,Yellow!50,}]{1,1,1,1}{}{2}
                          pscircle(0,0){2}
                          psline(2;90)(0,0)(2;180)
                          rput[B](1.1;140){QR} rput[B](1.1;-90){QNR}
                          uput[r](2;0){$-1$}uput[l](2;180){$+1$}
                          uput[u](2;90){$mathbb{Z}/ nmathbb{Z}$}
                          end{pspicture}

                          end{document}


                          enter image description here






                          share|improve this answer













                          A pstricks solution:



                          documentclass[border=5pt, svgnames]{standalone}
                          usepackage{amsfonts}
                          usepackage{pst-node, pstricks-add}
                          usepackage{auto-pst-pdf}

                          newcommand{QR}[1][n]{ensuremath{mathcal{QR}_{#1}}}
                          newcommand{QNR}[1][n]{ensuremath{mathcal{QNR}_{#1}}}
                          newcommand{QNRP}{ensuremath{mathcal{QNR}_n^{+1}}}
                          newcommand{JNP}{ensuremath{mathcal{J}_n^{+1}}}
                          newcommand{JNM}{ensuremath{mathcal{J}_n^{-1}}}

                          begin{document}

                          begin{pspicture}(-2.5,-2)(2.5,2.5)
                          psChart[userColor={Yellow!50, LightSteelBlue!80, LightSteelBlue!80,Yellow!50,}]{1,1,1,1}{}{2}
                          pscircle(0,0){2}
                          psline(2;90)(0,0)(2;180)
                          rput[B](1.1;140){QR} rput[B](1.1;-90){QNR}
                          uput[r](2;0){$-1$}uput[l](2;180){$+1$}
                          uput[u](2;90){$mathbb{Z}/ nmathbb{Z}$}
                          end{pspicture}

                          end{document}


                          enter image description here







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 7 hours ago









                          BernardBernard

                          181k780213




                          181k780213






























                              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%2f494383%2fhow-to-produce-a-more-sophisticated-pie-chart%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







                              Popular posts from this blog

                              Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

                              Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

                              Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...