amplitude against frequency graph of a mass spring system












1














enter image description here



I have seen marmot drawing four graphs like this but I have not learnt his. Can you help me?










share|improve this question



























    1














    enter image description here



    I have seen marmot drawing four graphs like this but I have not learnt his. Can you help me?










    share|improve this question

























      1












      1








      1







      enter image description here



      I have seen marmot drawing four graphs like this but I have not learnt his. Can you help me?










      share|improve this question













      enter image description here



      I have seen marmot drawing four graphs like this but I have not learnt his. Can you help me?







      tikz-pgf






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 31 mins ago









      ThumboltThumbolt

      1,394819




      1,394819






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Here is another possibility which you may find more intuitive: group plots.



          documentclass[tikz,border=3.14mm]{standalone}
          usepackage{pgfplots}
          pgfplotsset{compat=1.16}
          usepgfplotslibrary{groupplots}
          begin{document}
          begin{tikzpicture}[font=sffamily,declare function={%
          gauss(x,y,z)=1/(2*z*sqrt(pi))*exp(-(x-y)^2/(2*z^2));}]
          begin{groupplot}[group style={group size=2 by 2, vertical sep=1.6cm},
          height=6cm,width=6cm,
          domain=0.2:5.5,samples=51,ymin=0,ymax=1,xmin=0,xmax=6,
          xlabel=frequency,ylabel=amplitude,
          axis lines=left,xtick=empty,ytick=empty]
          nextgroupplot[title=A]
          addplot[mark=none,smooth,thick,blue] {0.1+1.25*gauss(x,2,0.7)};
          addplot[mark=none,smooth,thick,blue,densely dashed]
          {0.1+1.6*gauss(x,2.8,0.7)};
          nextgroupplot[title=B]
          addplot[mark=none,smooth,thick,blue] {0.1+1.25*gauss(x,2.8,0.7)};
          addplot[mark=none,smooth,thick,blue,densely dashed]
          {0.1+1.6*gauss(x,2.8,0.7)};
          nextgroupplot[title=C]
          addplot[mark=none,smooth,thick,blue] {0.1+1.25*gauss(x,2.8,0.7)};
          addplot[mark=none,smooth,thick,blue,densely dashed]
          {0.1+1.22*gauss(x,2.8,0.7)};
          nextgroupplot[title=D]
          addplot[mark=none,smooth,thick,blue] {0.1+1.25*gauss(x,2.8,0.7)};
          addplot[mark=none,smooth,thick,blue,densely dashed]
          {0.1+1.4*gauss(x,1.8,0.7)};
          end{groupplot}
          end{tikzpicture}
          end{document}


          enter image description here





          share





















            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%2f469643%2famplitude-against-frequency-graph-of-a-mass-spring-system%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Here is another possibility which you may find more intuitive: group plots.



            documentclass[tikz,border=3.14mm]{standalone}
            usepackage{pgfplots}
            pgfplotsset{compat=1.16}
            usepgfplotslibrary{groupplots}
            begin{document}
            begin{tikzpicture}[font=sffamily,declare function={%
            gauss(x,y,z)=1/(2*z*sqrt(pi))*exp(-(x-y)^2/(2*z^2));}]
            begin{groupplot}[group style={group size=2 by 2, vertical sep=1.6cm},
            height=6cm,width=6cm,
            domain=0.2:5.5,samples=51,ymin=0,ymax=1,xmin=0,xmax=6,
            xlabel=frequency,ylabel=amplitude,
            axis lines=left,xtick=empty,ytick=empty]
            nextgroupplot[title=A]
            addplot[mark=none,smooth,thick,blue] {0.1+1.25*gauss(x,2,0.7)};
            addplot[mark=none,smooth,thick,blue,densely dashed]
            {0.1+1.6*gauss(x,2.8,0.7)};
            nextgroupplot[title=B]
            addplot[mark=none,smooth,thick,blue] {0.1+1.25*gauss(x,2.8,0.7)};
            addplot[mark=none,smooth,thick,blue,densely dashed]
            {0.1+1.6*gauss(x,2.8,0.7)};
            nextgroupplot[title=C]
            addplot[mark=none,smooth,thick,blue] {0.1+1.25*gauss(x,2.8,0.7)};
            addplot[mark=none,smooth,thick,blue,densely dashed]
            {0.1+1.22*gauss(x,2.8,0.7)};
            nextgroupplot[title=D]
            addplot[mark=none,smooth,thick,blue] {0.1+1.25*gauss(x,2.8,0.7)};
            addplot[mark=none,smooth,thick,blue,densely dashed]
            {0.1+1.4*gauss(x,1.8,0.7)};
            end{groupplot}
            end{tikzpicture}
            end{document}


            enter image description here





            share


























              0














              Here is another possibility which you may find more intuitive: group plots.



              documentclass[tikz,border=3.14mm]{standalone}
              usepackage{pgfplots}
              pgfplotsset{compat=1.16}
              usepgfplotslibrary{groupplots}
              begin{document}
              begin{tikzpicture}[font=sffamily,declare function={%
              gauss(x,y,z)=1/(2*z*sqrt(pi))*exp(-(x-y)^2/(2*z^2));}]
              begin{groupplot}[group style={group size=2 by 2, vertical sep=1.6cm},
              height=6cm,width=6cm,
              domain=0.2:5.5,samples=51,ymin=0,ymax=1,xmin=0,xmax=6,
              xlabel=frequency,ylabel=amplitude,
              axis lines=left,xtick=empty,ytick=empty]
              nextgroupplot[title=A]
              addplot[mark=none,smooth,thick,blue] {0.1+1.25*gauss(x,2,0.7)};
              addplot[mark=none,smooth,thick,blue,densely dashed]
              {0.1+1.6*gauss(x,2.8,0.7)};
              nextgroupplot[title=B]
              addplot[mark=none,smooth,thick,blue] {0.1+1.25*gauss(x,2.8,0.7)};
              addplot[mark=none,smooth,thick,blue,densely dashed]
              {0.1+1.6*gauss(x,2.8,0.7)};
              nextgroupplot[title=C]
              addplot[mark=none,smooth,thick,blue] {0.1+1.25*gauss(x,2.8,0.7)};
              addplot[mark=none,smooth,thick,blue,densely dashed]
              {0.1+1.22*gauss(x,2.8,0.7)};
              nextgroupplot[title=D]
              addplot[mark=none,smooth,thick,blue] {0.1+1.25*gauss(x,2.8,0.7)};
              addplot[mark=none,smooth,thick,blue,densely dashed]
              {0.1+1.4*gauss(x,1.8,0.7)};
              end{groupplot}
              end{tikzpicture}
              end{document}


              enter image description here





              share
























                0












                0








                0






                Here is another possibility which you may find more intuitive: group plots.



                documentclass[tikz,border=3.14mm]{standalone}
                usepackage{pgfplots}
                pgfplotsset{compat=1.16}
                usepgfplotslibrary{groupplots}
                begin{document}
                begin{tikzpicture}[font=sffamily,declare function={%
                gauss(x,y,z)=1/(2*z*sqrt(pi))*exp(-(x-y)^2/(2*z^2));}]
                begin{groupplot}[group style={group size=2 by 2, vertical sep=1.6cm},
                height=6cm,width=6cm,
                domain=0.2:5.5,samples=51,ymin=0,ymax=1,xmin=0,xmax=6,
                xlabel=frequency,ylabel=amplitude,
                axis lines=left,xtick=empty,ytick=empty]
                nextgroupplot[title=A]
                addplot[mark=none,smooth,thick,blue] {0.1+1.25*gauss(x,2,0.7)};
                addplot[mark=none,smooth,thick,blue,densely dashed]
                {0.1+1.6*gauss(x,2.8,0.7)};
                nextgroupplot[title=B]
                addplot[mark=none,smooth,thick,blue] {0.1+1.25*gauss(x,2.8,0.7)};
                addplot[mark=none,smooth,thick,blue,densely dashed]
                {0.1+1.6*gauss(x,2.8,0.7)};
                nextgroupplot[title=C]
                addplot[mark=none,smooth,thick,blue] {0.1+1.25*gauss(x,2.8,0.7)};
                addplot[mark=none,smooth,thick,blue,densely dashed]
                {0.1+1.22*gauss(x,2.8,0.7)};
                nextgroupplot[title=D]
                addplot[mark=none,smooth,thick,blue] {0.1+1.25*gauss(x,2.8,0.7)};
                addplot[mark=none,smooth,thick,blue,densely dashed]
                {0.1+1.4*gauss(x,1.8,0.7)};
                end{groupplot}
                end{tikzpicture}
                end{document}


                enter image description here





                share












                Here is another possibility which you may find more intuitive: group plots.



                documentclass[tikz,border=3.14mm]{standalone}
                usepackage{pgfplots}
                pgfplotsset{compat=1.16}
                usepgfplotslibrary{groupplots}
                begin{document}
                begin{tikzpicture}[font=sffamily,declare function={%
                gauss(x,y,z)=1/(2*z*sqrt(pi))*exp(-(x-y)^2/(2*z^2));}]
                begin{groupplot}[group style={group size=2 by 2, vertical sep=1.6cm},
                height=6cm,width=6cm,
                domain=0.2:5.5,samples=51,ymin=0,ymax=1,xmin=0,xmax=6,
                xlabel=frequency,ylabel=amplitude,
                axis lines=left,xtick=empty,ytick=empty]
                nextgroupplot[title=A]
                addplot[mark=none,smooth,thick,blue] {0.1+1.25*gauss(x,2,0.7)};
                addplot[mark=none,smooth,thick,blue,densely dashed]
                {0.1+1.6*gauss(x,2.8,0.7)};
                nextgroupplot[title=B]
                addplot[mark=none,smooth,thick,blue] {0.1+1.25*gauss(x,2.8,0.7)};
                addplot[mark=none,smooth,thick,blue,densely dashed]
                {0.1+1.6*gauss(x,2.8,0.7)};
                nextgroupplot[title=C]
                addplot[mark=none,smooth,thick,blue] {0.1+1.25*gauss(x,2.8,0.7)};
                addplot[mark=none,smooth,thick,blue,densely dashed]
                {0.1+1.22*gauss(x,2.8,0.7)};
                nextgroupplot[title=D]
                addplot[mark=none,smooth,thick,blue] {0.1+1.25*gauss(x,2.8,0.7)};
                addplot[mark=none,smooth,thick,blue,densely dashed]
                {0.1+1.4*gauss(x,1.8,0.7)};
                end{groupplot}
                end{tikzpicture}
                end{document}


                enter image description here






                share











                share


                share










                answered 9 mins ago









                marmotmarmot

                90.3k4104195




                90.3k4104195






























                    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%2f469643%2famplitude-against-frequency-graph-of-a-mass-spring-system%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

                    A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

                    Calculate evaluation metrics using cross_val_predict sklearn

                    Insert data from modal to MySQL (multiple modal on website)