How to color a zone in TikzHow 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

Partial sums of primes

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

Simple recursive Sudoku solver

word describing multiple paths to the same abstract outcome

What should I use for Mishna study?

How do ultrasonic sensors differentiate between transmitted and received signals?

How to prevent YouTube from showing already watched videos?

Blender - show edges angles “direction”

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

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

Superhero words!

Can somebody explain Brexit in a few child-proof sentences?

Can I create an upright 7-foot × 5-foot wall with the Minor Illusion spell?

Did US corporations pay demonstrators in the German demonstrations against article 13?

What was required to accept "troll"?

Resetting two CD4017 counters simultaneously, only one resets

How can I successfully establish a nationwide combat training program for a large country?

Can a Gentile theist be saved?

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

I2C signal and power over long range (10meter cable)

What if somebody invests in my application?

Stereotypical names

Why does this part of the Space Shuttle launch pad seem to be floating in air?

A known event to a history junkie



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:



 documentclassarticle
usepackagetikz
usepackageamssymb,amsthm,amsmath
usetikzlibraryshapes,positioning,intersections,quotes

begindocument

begincenter
begintikzpicture
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$;
endtikzpicture
endcenter




enddocument


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


























    0















    I have this image: enter image description here



    That is made with this code:



     documentclassarticle
    usepackagetikz
    usepackageamssymb,amsthm,amsmath
    usetikzlibraryshapes,positioning,intersections,quotes

    begindocument

    begincenter
    begintikzpicture
    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$;
    endtikzpicture
    endcenter




    enddocument


    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
























      0












      0








      0








      I have this image: enter image description here



      That is made with this code:



       documentclassarticle
      usepackagetikz
      usepackageamssymb,amsthm,amsmath
      usetikzlibraryshapes,positioning,intersections,quotes

      begindocument

      begincenter
      begintikzpicture
      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$;
      endtikzpicture
      endcenter




      enddocument


      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














      I have this image: enter image description here



      That is made with this code:



       documentclassarticle
      usepackagetikz
      usepackageamssymb,amsthm,amsmath
      usetikzlibraryshapes,positioning,intersections,quotes

      begindocument

      begincenter
      begintikzpicture
      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$;
      endtikzpicture
      endcenter




      enddocument


      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












      share










      share



      share










      asked 3 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

          How should I use the fbox command correctly to avoid producing a Bad Box message?How to put a long piece of text in a box?How to specify height and width of fboxIs there an arrayrulecolor-like command to change the rule color of fbox?What is the command to highlight bad boxes in pdf?Why does fbox sometimes place the box *over* the graphic image?how to put the text in the boxHow to create command for a box where text inside the box can automatically adjust?how can I make an fbox like command with certain color, shape and width of border?how to use fbox in align modeFbox increase the spacing between the box and it content (inner margin)how to change the box height of an equationWhat is the use of the hbox in a newcommand command?

          152 Atala Notae | Nexus externi | Tabula navigationis"Discovery Circumstances: Numbered Minor Planets"2000152Small-Body Database

          Doxepinum Nexus interni Notae | Tabula navigationis3158DB01142WHOa682390"Structural Analysis of the Histamine H1 Receptor""Transdermal and Topical Drug Administration in the Treatment of Pain""Antidepressants as antipruritic agents: A review"