How to copy given figure and rotate it as figure.












5














documentclass[12pt,pstricks,border=15pt]{standalone}
usepackage{newcent}
begin{document}
begin{pspicture}(0,0)(3,3)
pscustom[fillstyle=solid,fillcolor=yellow,opacity=.5]{
psarcn(3,0){3}{180}{90}
psarcn(1,3){2}{0}{-90}
psarc(1,2){1}{-90}{0}
psarc(2,0){2}{90}{180}
}
pscustom[fillstyle=solid,fillcolor=blue,opacity=.5]{
psarc(0,3){3}{-90}{0}
psarcn(1,3){2}{0}{-90}
psarcn(2,1){1}{180}{90}
psarc(2,0){2}{90}{180}
closepath
}
end{pspicture}
end{document}


It produce:



enter image description here



How to create as the following:



enter image description here



In PStricks, is there a command to copy given figure? OR I have to draw 4 figures ...










share|improve this question



























    5














    documentclass[12pt,pstricks,border=15pt]{standalone}
    usepackage{newcent}
    begin{document}
    begin{pspicture}(0,0)(3,3)
    pscustom[fillstyle=solid,fillcolor=yellow,opacity=.5]{
    psarcn(3,0){3}{180}{90}
    psarcn(1,3){2}{0}{-90}
    psarc(1,2){1}{-90}{0}
    psarc(2,0){2}{90}{180}
    }
    pscustom[fillstyle=solid,fillcolor=blue,opacity=.5]{
    psarc(0,3){3}{-90}{0}
    psarcn(1,3){2}{0}{-90}
    psarcn(2,1){1}{180}{90}
    psarc(2,0){2}{90}{180}
    closepath
    }
    end{pspicture}
    end{document}


    It produce:



    enter image description here



    How to create as the following:



    enter image description here



    In PStricks, is there a command to copy given figure? OR I have to draw 4 figures ...










    share|improve this question

























      5












      5








      5







      documentclass[12pt,pstricks,border=15pt]{standalone}
      usepackage{newcent}
      begin{document}
      begin{pspicture}(0,0)(3,3)
      pscustom[fillstyle=solid,fillcolor=yellow,opacity=.5]{
      psarcn(3,0){3}{180}{90}
      psarcn(1,3){2}{0}{-90}
      psarc(1,2){1}{-90}{0}
      psarc(2,0){2}{90}{180}
      }
      pscustom[fillstyle=solid,fillcolor=blue,opacity=.5]{
      psarc(0,3){3}{-90}{0}
      psarcn(1,3){2}{0}{-90}
      psarcn(2,1){1}{180}{90}
      psarc(2,0){2}{90}{180}
      closepath
      }
      end{pspicture}
      end{document}


      It produce:



      enter image description here



      How to create as the following:



      enter image description here



      In PStricks, is there a command to copy given figure? OR I have to draw 4 figures ...










      share|improve this question













      documentclass[12pt,pstricks,border=15pt]{standalone}
      usepackage{newcent}
      begin{document}
      begin{pspicture}(0,0)(3,3)
      pscustom[fillstyle=solid,fillcolor=yellow,opacity=.5]{
      psarcn(3,0){3}{180}{90}
      psarcn(1,3){2}{0}{-90}
      psarc(1,2){1}{-90}{0}
      psarc(2,0){2}{90}{180}
      }
      pscustom[fillstyle=solid,fillcolor=blue,opacity=.5]{
      psarc(0,3){3}{-90}{0}
      psarcn(1,3){2}{0}{-90}
      psarcn(2,1){1}{180}{90}
      psarc(2,0){2}{90}{180}
      closepath
      }
      end{pspicture}
      end{document}


      It produce:



      enter image description here



      How to create as the following:



      enter image description here



      In PStricks, is there a command to copy given figure? OR I have to draw 4 figures ...







      pstricks






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 17 at 15:13









      chishimotoji

      810316




      810316






















          2 Answers
          2






          active

          oldest

          votes


















          5














          documentclass[12pt,pstricks,border=15pt]{standalone}
          begin{document}
          defmyFig{%
          pscustom[fillstyle=solid,fillcolor=yellow,opacity=.5]{%
          psarcn(3,0){3}{180}{90}psarcn(1,3){2}{0}{-90}
          psarc(1,2){1}{-90}{0}psarc(2,0){2}{90}{180}
          }%
          pscustom[fillstyle=solid,fillcolor=blue,opacity=.5]{%
          psarc(0,3){3}{-90}{0}psarcn(1,3){2}{0}{-90}
          psarcn(2,1){1}{180}{90}psarc(2,0){2}{90}{180}
          closepath
          }%
          }

          begin{pspicture}[showgrid](0,0)(6,6)
          rput(0,3){myFig}
          rput{-270}(6,3){myFig}
          rput{180}(6,3){myFig}
          rput{-90}(0,3){myFig}
          end{pspicture}
          end{document}


          enter image description here






          share|improve this answer





















          • Yes, I see ah. Thanks :-))
            – chishimotoji
            Dec 17 at 15:39



















          5














          Saving more characters.



          documentclass[pstricks,border=1pt]{standalone}
          degrees[4]

          defa#1{pscustom[fillcolor=#1]{%
          psarcn(3,0){3}{2}{1}psarcn(1,3){2}{0}{-1}psarc(1,2){1}{-1}{0}psarc(2,0){2}{1}{2}}}

          begin{document}
          begin{pspicture}[fillstyle=solid,opacity=.5](6,6)
          foreach p/t in {0/0,0/-1,6/-3,6/2}{rput{t}(p,3){a{blue}rput{2}(3,3){a{yellow}}}}
          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%2f466222%2fhow-to-copy-given-figure-and-rotate-it-as-figure%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









            5














            documentclass[12pt,pstricks,border=15pt]{standalone}
            begin{document}
            defmyFig{%
            pscustom[fillstyle=solid,fillcolor=yellow,opacity=.5]{%
            psarcn(3,0){3}{180}{90}psarcn(1,3){2}{0}{-90}
            psarc(1,2){1}{-90}{0}psarc(2,0){2}{90}{180}
            }%
            pscustom[fillstyle=solid,fillcolor=blue,opacity=.5]{%
            psarc(0,3){3}{-90}{0}psarcn(1,3){2}{0}{-90}
            psarcn(2,1){1}{180}{90}psarc(2,0){2}{90}{180}
            closepath
            }%
            }

            begin{pspicture}[showgrid](0,0)(6,6)
            rput(0,3){myFig}
            rput{-270}(6,3){myFig}
            rput{180}(6,3){myFig}
            rput{-90}(0,3){myFig}
            end{pspicture}
            end{document}


            enter image description here






            share|improve this answer





















            • Yes, I see ah. Thanks :-))
              – chishimotoji
              Dec 17 at 15:39
















            5














            documentclass[12pt,pstricks,border=15pt]{standalone}
            begin{document}
            defmyFig{%
            pscustom[fillstyle=solid,fillcolor=yellow,opacity=.5]{%
            psarcn(3,0){3}{180}{90}psarcn(1,3){2}{0}{-90}
            psarc(1,2){1}{-90}{0}psarc(2,0){2}{90}{180}
            }%
            pscustom[fillstyle=solid,fillcolor=blue,opacity=.5]{%
            psarc(0,3){3}{-90}{0}psarcn(1,3){2}{0}{-90}
            psarcn(2,1){1}{180}{90}psarc(2,0){2}{90}{180}
            closepath
            }%
            }

            begin{pspicture}[showgrid](0,0)(6,6)
            rput(0,3){myFig}
            rput{-270}(6,3){myFig}
            rput{180}(6,3){myFig}
            rput{-90}(0,3){myFig}
            end{pspicture}
            end{document}


            enter image description here






            share|improve this answer





















            • Yes, I see ah. Thanks :-))
              – chishimotoji
              Dec 17 at 15:39














            5












            5








            5






            documentclass[12pt,pstricks,border=15pt]{standalone}
            begin{document}
            defmyFig{%
            pscustom[fillstyle=solid,fillcolor=yellow,opacity=.5]{%
            psarcn(3,0){3}{180}{90}psarcn(1,3){2}{0}{-90}
            psarc(1,2){1}{-90}{0}psarc(2,0){2}{90}{180}
            }%
            pscustom[fillstyle=solid,fillcolor=blue,opacity=.5]{%
            psarc(0,3){3}{-90}{0}psarcn(1,3){2}{0}{-90}
            psarcn(2,1){1}{180}{90}psarc(2,0){2}{90}{180}
            closepath
            }%
            }

            begin{pspicture}[showgrid](0,0)(6,6)
            rput(0,3){myFig}
            rput{-270}(6,3){myFig}
            rput{180}(6,3){myFig}
            rput{-90}(0,3){myFig}
            end{pspicture}
            end{document}


            enter image description here






            share|improve this answer












            documentclass[12pt,pstricks,border=15pt]{standalone}
            begin{document}
            defmyFig{%
            pscustom[fillstyle=solid,fillcolor=yellow,opacity=.5]{%
            psarcn(3,0){3}{180}{90}psarcn(1,3){2}{0}{-90}
            psarc(1,2){1}{-90}{0}psarc(2,0){2}{90}{180}
            }%
            pscustom[fillstyle=solid,fillcolor=blue,opacity=.5]{%
            psarc(0,3){3}{-90}{0}psarcn(1,3){2}{0}{-90}
            psarcn(2,1){1}{180}{90}psarc(2,0){2}{90}{180}
            closepath
            }%
            }

            begin{pspicture}[showgrid](0,0)(6,6)
            rput(0,3){myFig}
            rput{-270}(6,3){myFig}
            rput{180}(6,3){myFig}
            rput{-90}(0,3){myFig}
            end{pspicture}
            end{document}


            enter image description here







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Dec 17 at 15:34









            Herbert

            269k24408717




            269k24408717












            • Yes, I see ah. Thanks :-))
              – chishimotoji
              Dec 17 at 15:39


















            • Yes, I see ah. Thanks :-))
              – chishimotoji
              Dec 17 at 15:39
















            Yes, I see ah. Thanks :-))
            – chishimotoji
            Dec 17 at 15:39




            Yes, I see ah. Thanks :-))
            – chishimotoji
            Dec 17 at 15:39











            5














            Saving more characters.



            documentclass[pstricks,border=1pt]{standalone}
            degrees[4]

            defa#1{pscustom[fillcolor=#1]{%
            psarcn(3,0){3}{2}{1}psarcn(1,3){2}{0}{-1}psarc(1,2){1}{-1}{0}psarc(2,0){2}{1}{2}}}

            begin{document}
            begin{pspicture}[fillstyle=solid,opacity=.5](6,6)
            foreach p/t in {0/0,0/-1,6/-3,6/2}{rput{t}(p,3){a{blue}rput{2}(3,3){a{yellow}}}}
            end{pspicture}
            end{document}


            enter image description here






            share|improve this answer




























              5














              Saving more characters.



              documentclass[pstricks,border=1pt]{standalone}
              degrees[4]

              defa#1{pscustom[fillcolor=#1]{%
              psarcn(3,0){3}{2}{1}psarcn(1,3){2}{0}{-1}psarc(1,2){1}{-1}{0}psarc(2,0){2}{1}{2}}}

              begin{document}
              begin{pspicture}[fillstyle=solid,opacity=.5](6,6)
              foreach p/t in {0/0,0/-1,6/-3,6/2}{rput{t}(p,3){a{blue}rput{2}(3,3){a{yellow}}}}
              end{pspicture}
              end{document}


              enter image description here






              share|improve this answer


























                5












                5








                5






                Saving more characters.



                documentclass[pstricks,border=1pt]{standalone}
                degrees[4]

                defa#1{pscustom[fillcolor=#1]{%
                psarcn(3,0){3}{2}{1}psarcn(1,3){2}{0}{-1}psarc(1,2){1}{-1}{0}psarc(2,0){2}{1}{2}}}

                begin{document}
                begin{pspicture}[fillstyle=solid,opacity=.5](6,6)
                foreach p/t in {0/0,0/-1,6/-3,6/2}{rput{t}(p,3){a{blue}rput{2}(3,3){a{yellow}}}}
                end{pspicture}
                end{document}


                enter image description here






                share|improve this answer














                Saving more characters.



                documentclass[pstricks,border=1pt]{standalone}
                degrees[4]

                defa#1{pscustom[fillcolor=#1]{%
                psarcn(3,0){3}{2}{1}psarcn(1,3){2}{0}{-1}psarc(1,2){1}{-1}{0}psarc(2,0){2}{1}{2}}}

                begin{document}
                begin{pspicture}[fillstyle=solid,opacity=.5](6,6)
                foreach p/t in {0/0,0/-1,6/-3,6/2}{rput{t}(p,3){a{blue}rput{2}(3,3){a{yellow}}}}
                end{pspicture}
                end{document}


                enter image description here







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Dec 18 at 5:07

























                answered Dec 17 at 18:32









                God Must Be Crazy

                5,60511039




                5,60511039






























                    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.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • 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%2f466222%2fhow-to-copy-given-figure-and-rotate-it-as-figure%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

                    Morgemoulin

                    Scott Moir

                    Souastre