Drawing the 2.4Ghz ISM band using Tikz












0














I am trying to make the figure below in Tikz.
However, since I am relatively new to Tikz I cannot make an image myself without example code. I haven't seen another person asking for something similiar, so I am a little bit clueless at the moment.



2.4 Ghz ISM band



Is there anyone that can help me drawing this 2.4 Ghz ISM band using Tikz?










share|improve this question


















  • 2




    Welcome to TeX.SX. Visit texample.net/tikz/examples for examples.
    – nidhin
    Dec 13 '18 at 8:04










  • @nidhin Thank you for your response. I checked the categories computer science, physics and mathematics, but there was no example that is similiar to the 2.4 Ghz ISM band.
    – Xhendos
    Dec 13 '18 at 8:07










  • What have you tried?
    – Henri Menke
    Dec 13 '18 at 8:07










  • @HenriMenke I have read the Tikz and PGF manual trying to find something similiar that I can work on. There is a one-liner to plot a function, but I am not too experienced to work with it.
    – Xhendos
    Dec 13 '18 at 8:15










  • @Xhendos The first 150 pages or so of the TikZ manual are tutorials. Have you worked through them? Afterwards it should be a piece of cake to draw what you want.
    – Henri Menke
    Dec 13 '18 at 8:21
















0














I am trying to make the figure below in Tikz.
However, since I am relatively new to Tikz I cannot make an image myself without example code. I haven't seen another person asking for something similiar, so I am a little bit clueless at the moment.



2.4 Ghz ISM band



Is there anyone that can help me drawing this 2.4 Ghz ISM band using Tikz?










share|improve this question


















  • 2




    Welcome to TeX.SX. Visit texample.net/tikz/examples for examples.
    – nidhin
    Dec 13 '18 at 8:04










  • @nidhin Thank you for your response. I checked the categories computer science, physics and mathematics, but there was no example that is similiar to the 2.4 Ghz ISM band.
    – Xhendos
    Dec 13 '18 at 8:07










  • What have you tried?
    – Henri Menke
    Dec 13 '18 at 8:07










  • @HenriMenke I have read the Tikz and PGF manual trying to find something similiar that I can work on. There is a one-liner to plot a function, but I am not too experienced to work with it.
    – Xhendos
    Dec 13 '18 at 8:15










  • @Xhendos The first 150 pages or so of the TikZ manual are tutorials. Have you worked through them? Afterwards it should be a piece of cake to draw what you want.
    – Henri Menke
    Dec 13 '18 at 8:21














0












0








0


0





I am trying to make the figure below in Tikz.
However, since I am relatively new to Tikz I cannot make an image myself without example code. I haven't seen another person asking for something similiar, so I am a little bit clueless at the moment.



2.4 Ghz ISM band



Is there anyone that can help me drawing this 2.4 Ghz ISM band using Tikz?










share|improve this question













I am trying to make the figure below in Tikz.
However, since I am relatively new to Tikz I cannot make an image myself without example code. I haven't seen another person asking for something similiar, so I am a little bit clueless at the moment.



2.4 Ghz ISM band



Is there anyone that can help me drawing this 2.4 Ghz ISM band using Tikz?







tikz-pgf






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 13 '18 at 7:57









Xhendos

31




31








  • 2




    Welcome to TeX.SX. Visit texample.net/tikz/examples for examples.
    – nidhin
    Dec 13 '18 at 8:04










  • @nidhin Thank you for your response. I checked the categories computer science, physics and mathematics, but there was no example that is similiar to the 2.4 Ghz ISM band.
    – Xhendos
    Dec 13 '18 at 8:07










  • What have you tried?
    – Henri Menke
    Dec 13 '18 at 8:07










  • @HenriMenke I have read the Tikz and PGF manual trying to find something similiar that I can work on. There is a one-liner to plot a function, but I am not too experienced to work with it.
    – Xhendos
    Dec 13 '18 at 8:15










  • @Xhendos The first 150 pages or so of the TikZ manual are tutorials. Have you worked through them? Afterwards it should be a piece of cake to draw what you want.
    – Henri Menke
    Dec 13 '18 at 8:21














  • 2




    Welcome to TeX.SX. Visit texample.net/tikz/examples for examples.
    – nidhin
    Dec 13 '18 at 8:04










  • @nidhin Thank you for your response. I checked the categories computer science, physics and mathematics, but there was no example that is similiar to the 2.4 Ghz ISM band.
    – Xhendos
    Dec 13 '18 at 8:07










  • What have you tried?
    – Henri Menke
    Dec 13 '18 at 8:07










  • @HenriMenke I have read the Tikz and PGF manual trying to find something similiar that I can work on. There is a one-liner to plot a function, but I am not too experienced to work with it.
    – Xhendos
    Dec 13 '18 at 8:15










  • @Xhendos The first 150 pages or so of the TikZ manual are tutorials. Have you worked through them? Afterwards it should be a piece of cake to draw what you want.
    – Henri Menke
    Dec 13 '18 at 8:21








2




2




Welcome to TeX.SX. Visit texample.net/tikz/examples for examples.
– nidhin
Dec 13 '18 at 8:04




Welcome to TeX.SX. Visit texample.net/tikz/examples for examples.
– nidhin
Dec 13 '18 at 8:04












@nidhin Thank you for your response. I checked the categories computer science, physics and mathematics, but there was no example that is similiar to the 2.4 Ghz ISM band.
– Xhendos
Dec 13 '18 at 8:07




@nidhin Thank you for your response. I checked the categories computer science, physics and mathematics, but there was no example that is similiar to the 2.4 Ghz ISM band.
– Xhendos
Dec 13 '18 at 8:07












What have you tried?
– Henri Menke
Dec 13 '18 at 8:07




What have you tried?
– Henri Menke
Dec 13 '18 at 8:07












@HenriMenke I have read the Tikz and PGF manual trying to find something similiar that I can work on. There is a one-liner to plot a function, but I am not too experienced to work with it.
– Xhendos
Dec 13 '18 at 8:15




@HenriMenke I have read the Tikz and PGF manual trying to find something similiar that I can work on. There is a one-liner to plot a function, but I am not too experienced to work with it.
– Xhendos
Dec 13 '18 at 8:15












@Xhendos The first 150 pages or so of the TikZ manual are tutorials. Have you worked through them? Afterwards it should be a piece of cake to draw what you want.
– Henri Menke
Dec 13 '18 at 8:21




@Xhendos The first 150 pages or so of the TikZ manual are tutorials. Have you worked through them? Afterwards it should be a piece of cake to draw what you want.
– Henri Menke
Dec 13 '18 at 8:21










2 Answers
2






active

oldest

votes


















4














To give you a start (and to show it is really simple, even marmots can do that ;-).



documentclass[tikz,border=3.14mm]{standalone}
begin{document}
begin{tikzpicture}[rotate=90,transform shape]
xdeflstN{37}
foreach X in {0,...,36}
{xdeflstN{lstN,X}
ifnumX=10
xdeflstN{lstN,38}
fi}
xdeflstN{lstN,39}
foreach X [count=Y,evaluate=Y as Z using {int(2400+2*Y)}] in lstN
{draw[overlay] (0,-Y/2) to[out=0,in=0,looseness=12] coordinate[midway](aux)
(0,{-(Y+1)/2}) coordinate (aux1);
foreach XX in {37,38,39}
{ifnumX=XX
fill[blue!20] (0,-Y/2) to[out=0,in=0,looseness=12] (0,{-(Y+1)/2});
fi}
node at (0.5,{-(2*Y+1)/4}){X};
node[anchor=east,font=sffamily] at (-0.1,{-(2*Y+1)/4}){Z,MHz};
path(aux);
}
draw (0,-1/2) -- (aux1);
end{tikzpicture}
end{document}


enter image description here






share|improve this answer





























    1














    The result is not so nice like marmot's, but I think with easier code.



    documentclass[tikz,border=2mm]{standalone} 
    usetikzlibrary{shapes.geometric}
    usepackage{siunitx}

    begin{document}
    begin{tikzpicture}

    begin{scope}
    clip (-1mm,0) rectangle (20cm,3);
    foreach i in {1,...,40}
    node[ellipse, shape border rotate=90, minimum width=5mm,
    minimum height=5cm, draw, anchor=east] at (i*5mm,0) (i) {};
    end{scope}

    draw (1.west)--(40.east);

    foreach i [count=ni, evaluate=i as fq using int(2040+2*i)] in {37,0,1,...,10,38,11,12,...,36,39}{
    node at ([yshift=7mm]ni.center) {i};
    node[rotate=90, anchor=east] at ([yshift=-2mm]ni.center) {fq MHz};
    }
    end{tikzpicture}
    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%2f464643%2fdrawing-the-2-4ghz-ism-band-using-tikz%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









      4














      To give you a start (and to show it is really simple, even marmots can do that ;-).



      documentclass[tikz,border=3.14mm]{standalone}
      begin{document}
      begin{tikzpicture}[rotate=90,transform shape]
      xdeflstN{37}
      foreach X in {0,...,36}
      {xdeflstN{lstN,X}
      ifnumX=10
      xdeflstN{lstN,38}
      fi}
      xdeflstN{lstN,39}
      foreach X [count=Y,evaluate=Y as Z using {int(2400+2*Y)}] in lstN
      {draw[overlay] (0,-Y/2) to[out=0,in=0,looseness=12] coordinate[midway](aux)
      (0,{-(Y+1)/2}) coordinate (aux1);
      foreach XX in {37,38,39}
      {ifnumX=XX
      fill[blue!20] (0,-Y/2) to[out=0,in=0,looseness=12] (0,{-(Y+1)/2});
      fi}
      node at (0.5,{-(2*Y+1)/4}){X};
      node[anchor=east,font=sffamily] at (-0.1,{-(2*Y+1)/4}){Z,MHz};
      path(aux);
      }
      draw (0,-1/2) -- (aux1);
      end{tikzpicture}
      end{document}


      enter image description here






      share|improve this answer


























        4














        To give you a start (and to show it is really simple, even marmots can do that ;-).



        documentclass[tikz,border=3.14mm]{standalone}
        begin{document}
        begin{tikzpicture}[rotate=90,transform shape]
        xdeflstN{37}
        foreach X in {0,...,36}
        {xdeflstN{lstN,X}
        ifnumX=10
        xdeflstN{lstN,38}
        fi}
        xdeflstN{lstN,39}
        foreach X [count=Y,evaluate=Y as Z using {int(2400+2*Y)}] in lstN
        {draw[overlay] (0,-Y/2) to[out=0,in=0,looseness=12] coordinate[midway](aux)
        (0,{-(Y+1)/2}) coordinate (aux1);
        foreach XX in {37,38,39}
        {ifnumX=XX
        fill[blue!20] (0,-Y/2) to[out=0,in=0,looseness=12] (0,{-(Y+1)/2});
        fi}
        node at (0.5,{-(2*Y+1)/4}){X};
        node[anchor=east,font=sffamily] at (-0.1,{-(2*Y+1)/4}){Z,MHz};
        path(aux);
        }
        draw (0,-1/2) -- (aux1);
        end{tikzpicture}
        end{document}


        enter image description here






        share|improve this answer
























          4












          4








          4






          To give you a start (and to show it is really simple, even marmots can do that ;-).



          documentclass[tikz,border=3.14mm]{standalone}
          begin{document}
          begin{tikzpicture}[rotate=90,transform shape]
          xdeflstN{37}
          foreach X in {0,...,36}
          {xdeflstN{lstN,X}
          ifnumX=10
          xdeflstN{lstN,38}
          fi}
          xdeflstN{lstN,39}
          foreach X [count=Y,evaluate=Y as Z using {int(2400+2*Y)}] in lstN
          {draw[overlay] (0,-Y/2) to[out=0,in=0,looseness=12] coordinate[midway](aux)
          (0,{-(Y+1)/2}) coordinate (aux1);
          foreach XX in {37,38,39}
          {ifnumX=XX
          fill[blue!20] (0,-Y/2) to[out=0,in=0,looseness=12] (0,{-(Y+1)/2});
          fi}
          node at (0.5,{-(2*Y+1)/4}){X};
          node[anchor=east,font=sffamily] at (-0.1,{-(2*Y+1)/4}){Z,MHz};
          path(aux);
          }
          draw (0,-1/2) -- (aux1);
          end{tikzpicture}
          end{document}


          enter image description here






          share|improve this answer












          To give you a start (and to show it is really simple, even marmots can do that ;-).



          documentclass[tikz,border=3.14mm]{standalone}
          begin{document}
          begin{tikzpicture}[rotate=90,transform shape]
          xdeflstN{37}
          foreach X in {0,...,36}
          {xdeflstN{lstN,X}
          ifnumX=10
          xdeflstN{lstN,38}
          fi}
          xdeflstN{lstN,39}
          foreach X [count=Y,evaluate=Y as Z using {int(2400+2*Y)}] in lstN
          {draw[overlay] (0,-Y/2) to[out=0,in=0,looseness=12] coordinate[midway](aux)
          (0,{-(Y+1)/2}) coordinate (aux1);
          foreach XX in {37,38,39}
          {ifnumX=XX
          fill[blue!20] (0,-Y/2) to[out=0,in=0,looseness=12] (0,{-(Y+1)/2});
          fi}
          node at (0.5,{-(2*Y+1)/4}){X};
          node[anchor=east,font=sffamily] at (-0.1,{-(2*Y+1)/4}){Z,MHz};
          path(aux);
          }
          draw (0,-1/2) -- (aux1);
          end{tikzpicture}
          end{document}


          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 13 '18 at 9:44









          marmot

          87.9k4101189




          87.9k4101189























              1














              The result is not so nice like marmot's, but I think with easier code.



              documentclass[tikz,border=2mm]{standalone} 
              usetikzlibrary{shapes.geometric}
              usepackage{siunitx}

              begin{document}
              begin{tikzpicture}

              begin{scope}
              clip (-1mm,0) rectangle (20cm,3);
              foreach i in {1,...,40}
              node[ellipse, shape border rotate=90, minimum width=5mm,
              minimum height=5cm, draw, anchor=east] at (i*5mm,0) (i) {};
              end{scope}

              draw (1.west)--(40.east);

              foreach i [count=ni, evaluate=i as fq using int(2040+2*i)] in {37,0,1,...,10,38,11,12,...,36,39}{
              node at ([yshift=7mm]ni.center) {i};
              node[rotate=90, anchor=east] at ([yshift=-2mm]ni.center) {fq MHz};
              }
              end{tikzpicture}
              end{document}


              enter image description here






              share|improve this answer


























                1














                The result is not so nice like marmot's, but I think with easier code.



                documentclass[tikz,border=2mm]{standalone} 
                usetikzlibrary{shapes.geometric}
                usepackage{siunitx}

                begin{document}
                begin{tikzpicture}

                begin{scope}
                clip (-1mm,0) rectangle (20cm,3);
                foreach i in {1,...,40}
                node[ellipse, shape border rotate=90, minimum width=5mm,
                minimum height=5cm, draw, anchor=east] at (i*5mm,0) (i) {};
                end{scope}

                draw (1.west)--(40.east);

                foreach i [count=ni, evaluate=i as fq using int(2040+2*i)] in {37,0,1,...,10,38,11,12,...,36,39}{
                node at ([yshift=7mm]ni.center) {i};
                node[rotate=90, anchor=east] at ([yshift=-2mm]ni.center) {fq MHz};
                }
                end{tikzpicture}
                end{document}


                enter image description here






                share|improve this answer
























                  1












                  1








                  1






                  The result is not so nice like marmot's, but I think with easier code.



                  documentclass[tikz,border=2mm]{standalone} 
                  usetikzlibrary{shapes.geometric}
                  usepackage{siunitx}

                  begin{document}
                  begin{tikzpicture}

                  begin{scope}
                  clip (-1mm,0) rectangle (20cm,3);
                  foreach i in {1,...,40}
                  node[ellipse, shape border rotate=90, minimum width=5mm,
                  minimum height=5cm, draw, anchor=east] at (i*5mm,0) (i) {};
                  end{scope}

                  draw (1.west)--(40.east);

                  foreach i [count=ni, evaluate=i as fq using int(2040+2*i)] in {37,0,1,...,10,38,11,12,...,36,39}{
                  node at ([yshift=7mm]ni.center) {i};
                  node[rotate=90, anchor=east] at ([yshift=-2mm]ni.center) {fq MHz};
                  }
                  end{tikzpicture}
                  end{document}


                  enter image description here






                  share|improve this answer












                  The result is not so nice like marmot's, but I think with easier code.



                  documentclass[tikz,border=2mm]{standalone} 
                  usetikzlibrary{shapes.geometric}
                  usepackage{siunitx}

                  begin{document}
                  begin{tikzpicture}

                  begin{scope}
                  clip (-1mm,0) rectangle (20cm,3);
                  foreach i in {1,...,40}
                  node[ellipse, shape border rotate=90, minimum width=5mm,
                  minimum height=5cm, draw, anchor=east] at (i*5mm,0) (i) {};
                  end{scope}

                  draw (1.west)--(40.east);

                  foreach i [count=ni, evaluate=i as fq using int(2040+2*i)] in {37,0,1,...,10,38,11,12,...,36,39}{
                  node at ([yshift=7mm]ni.center) {i};
                  node[rotate=90, anchor=east] at ([yshift=-2mm]ni.center) {fq MHz};
                  }
                  end{tikzpicture}
                  end{document}


                  enter image description here







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Dec 13 '18 at 10:08









                  Ignasi

                  91.6k4166304




                  91.6k4166304






























                      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%2f464643%2fdrawing-the-2-4ghz-ism-band-using-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 to send String Array data to Server using php in android

                      Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

                      Is anime1.com a legal site for watching anime?