How to draw a horn with tikz?
How to draw a horn with tikz
?
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
add a comment |
How to draw a horn with tikz
?
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
add a comment |
How to draw a horn with tikz
?
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
How to draw a horn with tikz
?
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
tikz-pgf
asked Jan 5 at 8:23
C.F.GC.F.G
582312
582312
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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}
How experts ontikz
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 fancytikz
diagrams sooner than you expect
– caverac
Jan 6 at 11:49
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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}
How experts ontikz
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 fancytikz
diagrams sooner than you expect
– caverac
Jan 6 at 11:49
add a comment |
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}
How experts ontikz
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 fancytikz
diagrams sooner than you expect
– caverac
Jan 6 at 11:49
add a comment |
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}
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}
edited Jan 5 at 14:50
answered Jan 5 at 9:59
caveraccaverac
6,6571827
6,6571827
How experts ontikz
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 fancytikz
diagrams sooner than you expect
– caverac
Jan 6 at 11:49
add a comment |
How experts ontikz
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 fancytikz
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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