How to color a zone in TikzHow does one draw a cylindrical shell in TikZ?How to draw a diagonal rectangle...

Is the next prime number always the next number divisible by the current prime number, except for any numbers previously divisible by primes?

Is there a good way to store credentials outside of a password manager?

Books on the History of math research at European universities

Pronouncing Homer as in modern Greek

Can the harmonic series explain the origin of the major scale?

A known event to a history junkie

How do ultrasonic sensors differentiate between transmitted and received signals?

Teaching indefinite integrals that require special-casing

Is there any significance to the Valyrian Stone vault door of Qarth?

"lassen" in meaning "sich fassen"

Can I use my Chinese passport to enter China after I acquired another citizenship?

Is a naturally all "male" species possible?

Indicating multiple different modes of speech (fantasy language or telepathy)

What to do when my ideas aren't chosen, when I strongly disagree with the chosen solution?

Is there enough fresh water in the world to eradicate the drinking water crisis?

Is there a problem with hiding "forgot password" until it's needed?

Reply ‘no position’ while the job posting is still there (‘HiWi’ position in Germany)

What was required to accept "troll"?

Giant Toughroad SLR 2 for 200 miles in two days, will it make it?

Adding empty element to declared container without declaring type of element

Can I Retrieve Email Addresses from BCC?

Why are all the doors on Ferenginar (the Ferengi home world) far shorter than the average Ferengi?

Is it possible to build a CPA Secure encryption scheme which remains secure even when the encryption of secret key is given?

Would it be legal for a US State to ban exports of a natural resource?



How to color a zone in Tikz


How does one draw a cylindrical shell in TikZ?How to draw a diagonal rectangle with TikZ?how to draw automata with 4 statesHow to draw graph with TiKz?How to draw countour integration?How to draw two concentric simple closed curves using tikzHow draw this figure (spiral) in tikz?how to draw a sine wavesPlot curves and color space regions in LaTeXBox half filled color













0















I have this image: enter image description here



That is made with this code:



     documentclass{article}
usepackage{tikz}
usepackage{amssymb,amsthm,amsmath}
usetikzlibrary{shapes,positioning,intersections,quotes}

begin{document}

begin{center}
begin{tikzpicture}
draw [rotate=270] (0,0) arc (180:0:1);
draw [rotate=270] (-2,0) arc (180:0:1);
draw (0,0) circle (2cm);
draw[dashed] (0,2.5) -- (0,-2.5);
draw[dashed](-2.5,0) -- (2.5,0);
draw (0,0) -- (-1.1547,1.9);
draw (0,0) -- (-1.01,2);
draw [rotate=120](0,0) -- (-1.1547,1.9);
draw [rotate=120](0,0) -- (-1.01,2);
filldraw[black] (1.2,0) circle (0pt)
node[anchor=west] {$S_0$};
filldraw[black] (-1.2,0) circle (0pt)
node[anchor=west] {$S_3$};
filldraw[black] (0,1.2) circle (0pt)
node[anchor=west] {$S_1$};
filldraw[black] (0,-1.2) circle (0pt)
node[anchor=west] {$S_2$};

filldraw[black] (-1,2.1) circle (0pt)
node[anchor=west] {tiny{$R_1$}};
end{tikzpicture}
end{center}




end{document}


And I want to know if there is a way to color in gray the zone that is between the 2 lines (in both zones). Any ideas? Thanks.










share|improve this question



























    0















    I have this image: enter image description here



    That is made with this code:



         documentclass{article}
    usepackage{tikz}
    usepackage{amssymb,amsthm,amsmath}
    usetikzlibrary{shapes,positioning,intersections,quotes}

    begin{document}

    begin{center}
    begin{tikzpicture}
    draw [rotate=270] (0,0) arc (180:0:1);
    draw [rotate=270] (-2,0) arc (180:0:1);
    draw (0,0) circle (2cm);
    draw[dashed] (0,2.5) -- (0,-2.5);
    draw[dashed](-2.5,0) -- (2.5,0);
    draw (0,0) -- (-1.1547,1.9);
    draw (0,0) -- (-1.01,2);
    draw [rotate=120](0,0) -- (-1.1547,1.9);
    draw [rotate=120](0,0) -- (-1.01,2);
    filldraw[black] (1.2,0) circle (0pt)
    node[anchor=west] {$S_0$};
    filldraw[black] (-1.2,0) circle (0pt)
    node[anchor=west] {$S_3$};
    filldraw[black] (0,1.2) circle (0pt)
    node[anchor=west] {$S_1$};
    filldraw[black] (0,-1.2) circle (0pt)
    node[anchor=west] {$S_2$};

    filldraw[black] (-1,2.1) circle (0pt)
    node[anchor=west] {tiny{$R_1$}};
    end{tikzpicture}
    end{center}




    end{document}


    And I want to know if there is a way to color in gray the zone that is between the 2 lines (in both zones). Any ideas? Thanks.










    share|improve this question

























      0












      0








      0








      I have this image: enter image description here



      That is made with this code:



           documentclass{article}
      usepackage{tikz}
      usepackage{amssymb,amsthm,amsmath}
      usetikzlibrary{shapes,positioning,intersections,quotes}

      begin{document}

      begin{center}
      begin{tikzpicture}
      draw [rotate=270] (0,0) arc (180:0:1);
      draw [rotate=270] (-2,0) arc (180:0:1);
      draw (0,0) circle (2cm);
      draw[dashed] (0,2.5) -- (0,-2.5);
      draw[dashed](-2.5,0) -- (2.5,0);
      draw (0,0) -- (-1.1547,1.9);
      draw (0,0) -- (-1.01,2);
      draw [rotate=120](0,0) -- (-1.1547,1.9);
      draw [rotate=120](0,0) -- (-1.01,2);
      filldraw[black] (1.2,0) circle (0pt)
      node[anchor=west] {$S_0$};
      filldraw[black] (-1.2,0) circle (0pt)
      node[anchor=west] {$S_3$};
      filldraw[black] (0,1.2) circle (0pt)
      node[anchor=west] {$S_1$};
      filldraw[black] (0,-1.2) circle (0pt)
      node[anchor=west] {$S_2$};

      filldraw[black] (-1,2.1) circle (0pt)
      node[anchor=west] {tiny{$R_1$}};
      end{tikzpicture}
      end{center}




      end{document}


      And I want to know if there is a way to color in gray the zone that is between the 2 lines (in both zones). Any ideas? Thanks.










      share|improve this question














      I have this image: enter image description here



      That is made with this code:



           documentclass{article}
      usepackage{tikz}
      usepackage{amssymb,amsthm,amsmath}
      usetikzlibrary{shapes,positioning,intersections,quotes}

      begin{document}

      begin{center}
      begin{tikzpicture}
      draw [rotate=270] (0,0) arc (180:0:1);
      draw [rotate=270] (-2,0) arc (180:0:1);
      draw (0,0) circle (2cm);
      draw[dashed] (0,2.5) -- (0,-2.5);
      draw[dashed](-2.5,0) -- (2.5,0);
      draw (0,0) -- (-1.1547,1.9);
      draw (0,0) -- (-1.01,2);
      draw [rotate=120](0,0) -- (-1.1547,1.9);
      draw [rotate=120](0,0) -- (-1.01,2);
      filldraw[black] (1.2,0) circle (0pt)
      node[anchor=west] {$S_0$};
      filldraw[black] (-1.2,0) circle (0pt)
      node[anchor=west] {$S_3$};
      filldraw[black] (0,1.2) circle (0pt)
      node[anchor=west] {$S_1$};
      filldraw[black] (0,-1.2) circle (0pt)
      node[anchor=west] {$S_2$};

      filldraw[black] (-1,2.1) circle (0pt)
      node[anchor=west] {tiny{$R_1$}};
      end{tikzpicture}
      end{center}




      end{document}


      And I want to know if there is a way to color in gray the zone that is between the 2 lines (in both zones). Any ideas? Thanks.







      draw






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 10 mins ago









      J.RodriguezJ.Rodriguez

      445




      445






















          0






          active

          oldest

          votes











          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%2f481454%2fhow-to-color-a-zone-in-tikz%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f481454%2fhow-to-color-a-zone-in-tikz%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

          El tren de la libertad Índice Antecedentes "Porque yo decido" Desarrollo de la...

          Castillo d'Acher Características Menú de navegación

          Connecting two nodes from the same mother node horizontallyTikZ: What EXACTLY does the the |- notation for...