Draw a spiral like an ellipse
up vote
6
down vote
favorite
I am trying to draw the following diagram in latex:
I find the following command :
documentclass{article}
usepackage{tikz}
begin{document}
begin{tikzpicture}
draw [domain=0:25.1327,variable=t,smooth,samples=75]
plot ({t r}: {0.002*t*t});
end{tikzpicture}
end{document}
But it's like a circle.
Can anyone help me?
tikz-pgf
New contributor
add a comment |
up vote
6
down vote
favorite
I am trying to draw the following diagram in latex:
I find the following command :
documentclass{article}
usepackage{tikz}
begin{document}
begin{tikzpicture}
draw [domain=0:25.1327,variable=t,smooth,samples=75]
plot ({t r}: {0.002*t*t});
end{tikzpicture}
end{document}
But it's like a circle.
Can anyone help me?
tikz-pgf
New contributor
1
Could you please provide with us the equation of that spiral?
– zyy
7 hours ago
It's phase plane portrait of differential equations, x'=Ax that A=[matrix 2x2]. for more details please check the link @zyy
– Mohammad
7 hours ago
@Mohammad Could you please provide with us the equation of that spiral?
– Andrew
6 hours ago
@Andrew This is the formula [formula][1] [1]: chart.googleapis.com/…
– Mohammad
6 hours ago
add a comment |
up vote
6
down vote
favorite
up vote
6
down vote
favorite
I am trying to draw the following diagram in latex:
I find the following command :
documentclass{article}
usepackage{tikz}
begin{document}
begin{tikzpicture}
draw [domain=0:25.1327,variable=t,smooth,samples=75]
plot ({t r}: {0.002*t*t});
end{tikzpicture}
end{document}
But it's like a circle.
Can anyone help me?
tikz-pgf
New contributor
I am trying to draw the following diagram in latex:
I find the following command :
documentclass{article}
usepackage{tikz}
begin{document}
begin{tikzpicture}
draw [domain=0:25.1327,variable=t,smooth,samples=75]
plot ({t r}: {0.002*t*t});
end{tikzpicture}
end{document}
But it's like a circle.
Can anyone help me?
tikz-pgf
tikz-pgf
New contributor
New contributor
edited 1 hour ago
Stefan Pinnow
19.2k83175
19.2k83175
New contributor
asked 8 hours ago
Mohammad
334
334
New contributor
New contributor
1
Could you please provide with us the equation of that spiral?
– zyy
7 hours ago
It's phase plane portrait of differential equations, x'=Ax that A=[matrix 2x2]. for more details please check the link @zyy
– Mohammad
7 hours ago
@Mohammad Could you please provide with us the equation of that spiral?
– Andrew
6 hours ago
@Andrew This is the formula [formula][1] [1]: chart.googleapis.com/…
– Mohammad
6 hours ago
add a comment |
1
Could you please provide with us the equation of that spiral?
– zyy
7 hours ago
It's phase plane portrait of differential equations, x'=Ax that A=[matrix 2x2]. for more details please check the link @zyy
– Mohammad
7 hours ago
@Mohammad Could you please provide with us the equation of that spiral?
– Andrew
6 hours ago
@Andrew This is the formula [formula][1] [1]: chart.googleapis.com/…
– Mohammad
6 hours ago
1
1
Could you please provide with us the equation of that spiral?
– zyy
7 hours ago
Could you please provide with us the equation of that spiral?
– zyy
7 hours ago
It's phase plane portrait of differential equations, x'=Ax that A=[matrix 2x2]. for more details please check the link @zyy
– Mohammad
7 hours ago
It's phase plane portrait of differential equations, x'=Ax that A=[matrix 2x2]. for more details please check the link @zyy
– Mohammad
7 hours ago
@Mohammad Could you please provide with us the equation of that spiral?
– Andrew
6 hours ago
@Mohammad Could you please provide with us the equation of that spiral?
– Andrew
6 hours ago
@Andrew This is the formula [formula][1] [1]: chart.googleapis.com/…
– Mohammad
6 hours ago
@Andrew This is the formula [formula][1] [1]: chart.googleapis.com/…
– Mohammad
6 hours ago
add a comment |
2 Answers
2
active
oldest
votes
up vote
7
down vote
accepted
Your code shows a circular spiral because you punch in a circular spiral. Try e.g.
documentclass{article}
usepackage{tikz}
begin{document}
begin{tikzpicture}
draw [rotate=-45]
plot[domain=0:25.1327,variable=t,smooth,samples=75] ({t r}: {0.002*t*t} and {0.004*t*t} );
end{tikzpicture}
end{document}
And to add the axes and the arrow, you could use
documentclass{article}
usepackage{tikz}
usetikzlibrary{decorations.markings}
begin{document}
begin{tikzpicture}
draw[-stealth] (-3,0) -- (3,0) node[below]{$x$};
draw[-stealth] (0,-3) -- (0,3) node[left]{$y$};
draw [rotate=-45,postaction=decorate,decoration={markings,
mark=at position 0.93 with {arrow{latex}}}]
plot[domain=0:32,variable=t,smooth,samples=75] ({t r}: {0.002*t*t} and {0.004*t*t} );
end{tikzpicture}
end{document}
Thanks a lot for your help
– Mohammad
5 hours ago
@Mohammad You're welcome!
– marmot
5 hours ago
add a comment |
up vote
0
down vote
A PSTricks solution only for comparison and future purposes.
documentclass[pstricks,border=12pt,12pt]{standalone}
usepackage{pst-plot}
begin{document}
pspicture[algebraic,plotpoints=500](-4,-4)(4,4)
rput{-45}(0,0){psparametricplot[arrows=->]{0}{Pi 15 mul}{t^2*cos(t-Pi/3)/1000|2*t^2*sin(t-Pi/3)/1000}}
endpspicture
end{document}
The quadratic growth is randomly or blindly chosen.
– Artificial Stupidity
49 mins ago
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
7
down vote
accepted
Your code shows a circular spiral because you punch in a circular spiral. Try e.g.
documentclass{article}
usepackage{tikz}
begin{document}
begin{tikzpicture}
draw [rotate=-45]
plot[domain=0:25.1327,variable=t,smooth,samples=75] ({t r}: {0.002*t*t} and {0.004*t*t} );
end{tikzpicture}
end{document}
And to add the axes and the arrow, you could use
documentclass{article}
usepackage{tikz}
usetikzlibrary{decorations.markings}
begin{document}
begin{tikzpicture}
draw[-stealth] (-3,0) -- (3,0) node[below]{$x$};
draw[-stealth] (0,-3) -- (0,3) node[left]{$y$};
draw [rotate=-45,postaction=decorate,decoration={markings,
mark=at position 0.93 with {arrow{latex}}}]
plot[domain=0:32,variable=t,smooth,samples=75] ({t r}: {0.002*t*t} and {0.004*t*t} );
end{tikzpicture}
end{document}
Thanks a lot for your help
– Mohammad
5 hours ago
@Mohammad You're welcome!
– marmot
5 hours ago
add a comment |
up vote
7
down vote
accepted
Your code shows a circular spiral because you punch in a circular spiral. Try e.g.
documentclass{article}
usepackage{tikz}
begin{document}
begin{tikzpicture}
draw [rotate=-45]
plot[domain=0:25.1327,variable=t,smooth,samples=75] ({t r}: {0.002*t*t} and {0.004*t*t} );
end{tikzpicture}
end{document}
And to add the axes and the arrow, you could use
documentclass{article}
usepackage{tikz}
usetikzlibrary{decorations.markings}
begin{document}
begin{tikzpicture}
draw[-stealth] (-3,0) -- (3,0) node[below]{$x$};
draw[-stealth] (0,-3) -- (0,3) node[left]{$y$};
draw [rotate=-45,postaction=decorate,decoration={markings,
mark=at position 0.93 with {arrow{latex}}}]
plot[domain=0:32,variable=t,smooth,samples=75] ({t r}: {0.002*t*t} and {0.004*t*t} );
end{tikzpicture}
end{document}
Thanks a lot for your help
– Mohammad
5 hours ago
@Mohammad You're welcome!
– marmot
5 hours ago
add a comment |
up vote
7
down vote
accepted
up vote
7
down vote
accepted
Your code shows a circular spiral because you punch in a circular spiral. Try e.g.
documentclass{article}
usepackage{tikz}
begin{document}
begin{tikzpicture}
draw [rotate=-45]
plot[domain=0:25.1327,variable=t,smooth,samples=75] ({t r}: {0.002*t*t} and {0.004*t*t} );
end{tikzpicture}
end{document}
And to add the axes and the arrow, you could use
documentclass{article}
usepackage{tikz}
usetikzlibrary{decorations.markings}
begin{document}
begin{tikzpicture}
draw[-stealth] (-3,0) -- (3,0) node[below]{$x$};
draw[-stealth] (0,-3) -- (0,3) node[left]{$y$};
draw [rotate=-45,postaction=decorate,decoration={markings,
mark=at position 0.93 with {arrow{latex}}}]
plot[domain=0:32,variable=t,smooth,samples=75] ({t r}: {0.002*t*t} and {0.004*t*t} );
end{tikzpicture}
end{document}
Your code shows a circular spiral because you punch in a circular spiral. Try e.g.
documentclass{article}
usepackage{tikz}
begin{document}
begin{tikzpicture}
draw [rotate=-45]
plot[domain=0:25.1327,variable=t,smooth,samples=75] ({t r}: {0.002*t*t} and {0.004*t*t} );
end{tikzpicture}
end{document}
And to add the axes and the arrow, you could use
documentclass{article}
usepackage{tikz}
usetikzlibrary{decorations.markings}
begin{document}
begin{tikzpicture}
draw[-stealth] (-3,0) -- (3,0) node[below]{$x$};
draw[-stealth] (0,-3) -- (0,3) node[left]{$y$};
draw [rotate=-45,postaction=decorate,decoration={markings,
mark=at position 0.93 with {arrow{latex}}}]
plot[domain=0:32,variable=t,smooth,samples=75] ({t r}: {0.002*t*t} and {0.004*t*t} );
end{tikzpicture}
end{document}
edited 5 hours ago
answered 5 hours ago
marmot
82.2k492175
82.2k492175
Thanks a lot for your help
– Mohammad
5 hours ago
@Mohammad You're welcome!
– marmot
5 hours ago
add a comment |
Thanks a lot for your help
– Mohammad
5 hours ago
@Mohammad You're welcome!
– marmot
5 hours ago
Thanks a lot for your help
– Mohammad
5 hours ago
Thanks a lot for your help
– Mohammad
5 hours ago
@Mohammad You're welcome!
– marmot
5 hours ago
@Mohammad You're welcome!
– marmot
5 hours ago
add a comment |
up vote
0
down vote
A PSTricks solution only for comparison and future purposes.
documentclass[pstricks,border=12pt,12pt]{standalone}
usepackage{pst-plot}
begin{document}
pspicture[algebraic,plotpoints=500](-4,-4)(4,4)
rput{-45}(0,0){psparametricplot[arrows=->]{0}{Pi 15 mul}{t^2*cos(t-Pi/3)/1000|2*t^2*sin(t-Pi/3)/1000}}
endpspicture
end{document}
The quadratic growth is randomly or blindly chosen.
– Artificial Stupidity
49 mins ago
add a comment |
up vote
0
down vote
A PSTricks solution only for comparison and future purposes.
documentclass[pstricks,border=12pt,12pt]{standalone}
usepackage{pst-plot}
begin{document}
pspicture[algebraic,plotpoints=500](-4,-4)(4,4)
rput{-45}(0,0){psparametricplot[arrows=->]{0}{Pi 15 mul}{t^2*cos(t-Pi/3)/1000|2*t^2*sin(t-Pi/3)/1000}}
endpspicture
end{document}
The quadratic growth is randomly or blindly chosen.
– Artificial Stupidity
49 mins ago
add a comment |
up vote
0
down vote
up vote
0
down vote
A PSTricks solution only for comparison and future purposes.
documentclass[pstricks,border=12pt,12pt]{standalone}
usepackage{pst-plot}
begin{document}
pspicture[algebraic,plotpoints=500](-4,-4)(4,4)
rput{-45}(0,0){psparametricplot[arrows=->]{0}{Pi 15 mul}{t^2*cos(t-Pi/3)/1000|2*t^2*sin(t-Pi/3)/1000}}
endpspicture
end{document}
A PSTricks solution only for comparison and future purposes.
documentclass[pstricks,border=12pt,12pt]{standalone}
usepackage{pst-plot}
begin{document}
pspicture[algebraic,plotpoints=500](-4,-4)(4,4)
rput{-45}(0,0){psparametricplot[arrows=->]{0}{Pi 15 mul}{t^2*cos(t-Pi/3)/1000|2*t^2*sin(t-Pi/3)/1000}}
endpspicture
end{document}
answered 52 mins ago
Artificial Stupidity
4,64611039
4,64611039
The quadratic growth is randomly or blindly chosen.
– Artificial Stupidity
49 mins ago
add a comment |
The quadratic growth is randomly or blindly chosen.
– Artificial Stupidity
49 mins ago
The quadratic growth is randomly or blindly chosen.
– Artificial Stupidity
49 mins ago
The quadratic growth is randomly or blindly chosen.
– Artificial Stupidity
49 mins ago
add a comment |
Mohammad is a new contributor. Be nice, and check out our Code of Conduct.
Mohammad is a new contributor. Be nice, and check out our Code of Conduct.
Mohammad is a new contributor. Be nice, and check out our Code of Conduct.
Mohammad is a new contributor. Be nice, and check out our Code of Conduct.
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.
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%2f464222%2fdraw-a-spiral-like-an-ellipse%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
1
Could you please provide with us the equation of that spiral?
– zyy
7 hours ago
It's phase plane portrait of differential equations, x'=Ax that A=[matrix 2x2]. for more details please check the link @zyy
– Mohammad
7 hours ago
@Mohammad Could you please provide with us the equation of that spiral?
– Andrew
6 hours ago
@Andrew This is the formula [formula][1] [1]: chart.googleapis.com/…
– Mohammad
6 hours ago