How to draw a horn with tikz?












6















How to draw a horn with tikz?



enter image description here



begin{tikzpicture}
%draw [help lines] grid (-4,-4) (4,4);
draw (-4,-4) arc (120:420: 5 and .75);
draw[semithick,domain=2.4:.1,smooth,variable=t]
plot ({-1.35-t},{-2.2-3*ln(t)});
draw[semithick,domain=2.4:.1,smooth,variable=t]
plot ({-1+t},{-2.2-3*ln(t)});
end{tikzpicture}









share|improve this question



























    6















    How to draw a horn with tikz?



    enter image description here



    begin{tikzpicture}
    %draw [help lines] grid (-4,-4) (4,4);
    draw (-4,-4) arc (120:420: 5 and .75);
    draw[semithick,domain=2.4:.1,smooth,variable=t]
    plot ({-1.35-t},{-2.2-3*ln(t)});
    draw[semithick,domain=2.4:.1,smooth,variable=t]
    plot ({-1+t},{-2.2-3*ln(t)});
    end{tikzpicture}









    share|improve this question

























      6












      6








      6


      1






      How to draw a horn with tikz?



      enter image description here



      begin{tikzpicture}
      %draw [help lines] grid (-4,-4) (4,4);
      draw (-4,-4) arc (120:420: 5 and .75);
      draw[semithick,domain=2.4:.1,smooth,variable=t]
      plot ({-1.35-t},{-2.2-3*ln(t)});
      draw[semithick,domain=2.4:.1,smooth,variable=t]
      plot ({-1+t},{-2.2-3*ln(t)});
      end{tikzpicture}









      share|improve this question














      How to draw a horn with tikz?



      enter image description here



      begin{tikzpicture}
      %draw [help lines] grid (-4,-4) (4,4);
      draw (-4,-4) arc (120:420: 5 and .75);
      draw[semithick,domain=2.4:.1,smooth,variable=t]
      plot ({-1.35-t},{-2.2-3*ln(t)});
      draw[semithick,domain=2.4:.1,smooth,variable=t]
      plot ({-1+t},{-2.2-3*ln(t)});
      end{tikzpicture}






      tikz-pgf






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 5 at 8:23









      C.F.GC.F.G

      582312




      582312






















          1 Answer
          1






          active

          oldest

          votes


















          10














          I'm certain there is a better way of doing this, but this may help you get started



          documentclass[tikz, border = 5pt]{standalone}

          usetikzlibrary{intersections, calc}

          begin{document}
          begin{tikzpicture}[semithick]
          path (0, 1) arc (90 : 120 : 5 and 1) coordinate (A) arc (120 : 420 : 5 and 1) coordinate (B);

          draw (A) arc (120 : 420 : 5 and 1);
          draw (-0.7, 8) to[out = -90, in = 40] coordinate[pos = 0.3](C) (-3.4, 0);
          draw (0.7, 8) to[out = -90, in = 140] coordinate[pos = 0.3](D) (3.4, 0);
          draw[dashed] (D) .. controls ($(D)+(-0.1,0.8)$) and ($(C)+(0.1,0.8)$) .. (C);

          draw[name path = path 1] (D) to[out = -90, in = 20] (-3.4, -0.5);
          draw[name path = path 2] (C) to[out = -90, in = 140] (2.5, -0.2);
          draw[name path = path 3] (-2, 0.5) to[out = 10, in = 210] (1.5, 1.7);

          fill[blue, name intersections = {of = path 1 and path 3}] (intersection-1) circle (0.1);
          fill[blue, name intersections = {of = path 2 and path 3}] (intersection-1) circle (0.1);


          end{tikzpicture}
          end{document}


          enter image description here






          share|improve this answer


























          • How experts on tikz draw any figures? do you use a special software for drawing? or you do it by trial and error?

            – C.F.G
            Jan 6 at 3:37






          • 1





            @C.F.G You can try with this, but I wouldn't recommend it, since it will stop you from learning the basics. This is a great place to start, ask questions and try to figure out why the solutions work, I guarantee you, you will be drawing fancy tikz diagrams sooner than you expect

            – caverac
            Jan 6 at 11:49











          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%2f468684%2fhow-to-draw-a-horn-with-tikz%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









          10














          I'm certain there is a better way of doing this, but this may help you get started



          documentclass[tikz, border = 5pt]{standalone}

          usetikzlibrary{intersections, calc}

          begin{document}
          begin{tikzpicture}[semithick]
          path (0, 1) arc (90 : 120 : 5 and 1) coordinate (A) arc (120 : 420 : 5 and 1) coordinate (B);

          draw (A) arc (120 : 420 : 5 and 1);
          draw (-0.7, 8) to[out = -90, in = 40] coordinate[pos = 0.3](C) (-3.4, 0);
          draw (0.7, 8) to[out = -90, in = 140] coordinate[pos = 0.3](D) (3.4, 0);
          draw[dashed] (D) .. controls ($(D)+(-0.1,0.8)$) and ($(C)+(0.1,0.8)$) .. (C);

          draw[name path = path 1] (D) to[out = -90, in = 20] (-3.4, -0.5);
          draw[name path = path 2] (C) to[out = -90, in = 140] (2.5, -0.2);
          draw[name path = path 3] (-2, 0.5) to[out = 10, in = 210] (1.5, 1.7);

          fill[blue, name intersections = {of = path 1 and path 3}] (intersection-1) circle (0.1);
          fill[blue, name intersections = {of = path 2 and path 3}] (intersection-1) circle (0.1);


          end{tikzpicture}
          end{document}


          enter image description here






          share|improve this answer


























          • How experts on tikz draw any figures? do you use a special software for drawing? or you do it by trial and error?

            – C.F.G
            Jan 6 at 3:37






          • 1





            @C.F.G You can try with this, but I wouldn't recommend it, since it will stop you from learning the basics. This is a great place to start, ask questions and try to figure out why the solutions work, I guarantee you, you will be drawing fancy tikz diagrams sooner than you expect

            – caverac
            Jan 6 at 11:49
















          10














          I'm certain there is a better way of doing this, but this may help you get started



          documentclass[tikz, border = 5pt]{standalone}

          usetikzlibrary{intersections, calc}

          begin{document}
          begin{tikzpicture}[semithick]
          path (0, 1) arc (90 : 120 : 5 and 1) coordinate (A) arc (120 : 420 : 5 and 1) coordinate (B);

          draw (A) arc (120 : 420 : 5 and 1);
          draw (-0.7, 8) to[out = -90, in = 40] coordinate[pos = 0.3](C) (-3.4, 0);
          draw (0.7, 8) to[out = -90, in = 140] coordinate[pos = 0.3](D) (3.4, 0);
          draw[dashed] (D) .. controls ($(D)+(-0.1,0.8)$) and ($(C)+(0.1,0.8)$) .. (C);

          draw[name path = path 1] (D) to[out = -90, in = 20] (-3.4, -0.5);
          draw[name path = path 2] (C) to[out = -90, in = 140] (2.5, -0.2);
          draw[name path = path 3] (-2, 0.5) to[out = 10, in = 210] (1.5, 1.7);

          fill[blue, name intersections = {of = path 1 and path 3}] (intersection-1) circle (0.1);
          fill[blue, name intersections = {of = path 2 and path 3}] (intersection-1) circle (0.1);


          end{tikzpicture}
          end{document}


          enter image description here






          share|improve this answer


























          • How experts on tikz draw any figures? do you use a special software for drawing? or you do it by trial and error?

            – C.F.G
            Jan 6 at 3:37






          • 1





            @C.F.G You can try with this, but I wouldn't recommend it, since it will stop you from learning the basics. This is a great place to start, ask questions and try to figure out why the solutions work, I guarantee you, you will be drawing fancy tikz diagrams sooner than you expect

            – caverac
            Jan 6 at 11:49














          10












          10








          10







          I'm certain there is a better way of doing this, but this may help you get started



          documentclass[tikz, border = 5pt]{standalone}

          usetikzlibrary{intersections, calc}

          begin{document}
          begin{tikzpicture}[semithick]
          path (0, 1) arc (90 : 120 : 5 and 1) coordinate (A) arc (120 : 420 : 5 and 1) coordinate (B);

          draw (A) arc (120 : 420 : 5 and 1);
          draw (-0.7, 8) to[out = -90, in = 40] coordinate[pos = 0.3](C) (-3.4, 0);
          draw (0.7, 8) to[out = -90, in = 140] coordinate[pos = 0.3](D) (3.4, 0);
          draw[dashed] (D) .. controls ($(D)+(-0.1,0.8)$) and ($(C)+(0.1,0.8)$) .. (C);

          draw[name path = path 1] (D) to[out = -90, in = 20] (-3.4, -0.5);
          draw[name path = path 2] (C) to[out = -90, in = 140] (2.5, -0.2);
          draw[name path = path 3] (-2, 0.5) to[out = 10, in = 210] (1.5, 1.7);

          fill[blue, name intersections = {of = path 1 and path 3}] (intersection-1) circle (0.1);
          fill[blue, name intersections = {of = path 2 and path 3}] (intersection-1) circle (0.1);


          end{tikzpicture}
          end{document}


          enter image description here






          share|improve this answer















          I'm certain there is a better way of doing this, but this may help you get started



          documentclass[tikz, border = 5pt]{standalone}

          usetikzlibrary{intersections, calc}

          begin{document}
          begin{tikzpicture}[semithick]
          path (0, 1) arc (90 : 120 : 5 and 1) coordinate (A) arc (120 : 420 : 5 and 1) coordinate (B);

          draw (A) arc (120 : 420 : 5 and 1);
          draw (-0.7, 8) to[out = -90, in = 40] coordinate[pos = 0.3](C) (-3.4, 0);
          draw (0.7, 8) to[out = -90, in = 140] coordinate[pos = 0.3](D) (3.4, 0);
          draw[dashed] (D) .. controls ($(D)+(-0.1,0.8)$) and ($(C)+(0.1,0.8)$) .. (C);

          draw[name path = path 1] (D) to[out = -90, in = 20] (-3.4, -0.5);
          draw[name path = path 2] (C) to[out = -90, in = 140] (2.5, -0.2);
          draw[name path = path 3] (-2, 0.5) to[out = 10, in = 210] (1.5, 1.7);

          fill[blue, name intersections = {of = path 1 and path 3}] (intersection-1) circle (0.1);
          fill[blue, name intersections = {of = path 2 and path 3}] (intersection-1) circle (0.1);


          end{tikzpicture}
          end{document}


          enter image description here







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jan 5 at 14:50

























          answered Jan 5 at 9:59









          caveraccaverac

          6,6571827




          6,6571827













          • How experts on tikz draw any figures? do you use a special software for drawing? or you do it by trial and error?

            – C.F.G
            Jan 6 at 3:37






          • 1





            @C.F.G You can try with this, but I wouldn't recommend it, since it will stop you from learning the basics. This is a great place to start, ask questions and try to figure out why the solutions work, I guarantee you, you will be drawing fancy tikz diagrams sooner than you expect

            – caverac
            Jan 6 at 11:49



















          • How experts on tikz draw any figures? do you use a special software for drawing? or you do it by trial and error?

            – C.F.G
            Jan 6 at 3:37






          • 1





            @C.F.G You can try with this, but I wouldn't recommend it, since it will stop you from learning the basics. This is a great place to start, ask questions and try to figure out why the solutions work, I guarantee you, you will be drawing fancy tikz diagrams sooner than you expect

            – caverac
            Jan 6 at 11:49

















          How experts on tikz draw any figures? do you use a special software for drawing? or you do it by trial and error?

          – C.F.G
          Jan 6 at 3:37





          How experts on tikz draw any figures? do you use a special software for drawing? or you do it by trial and error?

          – C.F.G
          Jan 6 at 3:37




          1




          1





          @C.F.G You can try with this, but I wouldn't recommend it, since it will stop you from learning the basics. This is a great place to start, ask questions and try to figure out why the solutions work, I guarantee you, you will be drawing fancy tikz diagrams sooner than you expect

          – caverac
          Jan 6 at 11:49





          @C.F.G You can try with this, but I wouldn't recommend it, since it will stop you from learning the basics. This is a great place to start, ask questions and try to figure out why the solutions work, I guarantee you, you will be drawing fancy tikz diagrams sooner than you expect

          – caverac
          Jan 6 at 11:49


















          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%2f468684%2fhow-to-draw-a-horn-with-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

          Bressuire

          Cabo Verde

          Gyllenstierna