Draw a spiral like an ellipse












7















I am trying to draw the following diagram in latex:



enter image description here



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?










share|improve this question




















  • 1





    Could you please provide with us the equation of that spiral?

    – zyy
    Dec 11 '18 at 0:11











  • It's phase plane portrait of differential equations, x'=Ax that A=[matrix 2x2]. for more details please check the link @zyy

    – Mohammad
    Dec 11 '18 at 0:56













  • @Mohammad Could you please provide with us the equation of that spiral?

    – Andrew
    Dec 11 '18 at 1:03











  • @Andrew This is the formula [formula][1] [1]: chart.googleapis.com/…

    – Mohammad
    Dec 11 '18 at 1:28
















7















I am trying to draw the following diagram in latex:



enter image description here



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?










share|improve this question




















  • 1





    Could you please provide with us the equation of that spiral?

    – zyy
    Dec 11 '18 at 0:11











  • It's phase plane portrait of differential equations, x'=Ax that A=[matrix 2x2]. for more details please check the link @zyy

    – Mohammad
    Dec 11 '18 at 0:56













  • @Mohammad Could you please provide with us the equation of that spiral?

    – Andrew
    Dec 11 '18 at 1:03











  • @Andrew This is the formula [formula][1] [1]: chart.googleapis.com/…

    – Mohammad
    Dec 11 '18 at 1:28














7












7








7








I am trying to draw the following diagram in latex:



enter image description here



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?










share|improve this question
















I am trying to draw the following diagram in latex:



enter image description here



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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 11 '18 at 6:22









Stefan Pinnow

19.8k83276




19.8k83276










asked Dec 10 '18 at 23:37









MohammadMohammad

384




384








  • 1





    Could you please provide with us the equation of that spiral?

    – zyy
    Dec 11 '18 at 0:11











  • It's phase plane portrait of differential equations, x'=Ax that A=[matrix 2x2]. for more details please check the link @zyy

    – Mohammad
    Dec 11 '18 at 0:56













  • @Mohammad Could you please provide with us the equation of that spiral?

    – Andrew
    Dec 11 '18 at 1:03











  • @Andrew This is the formula [formula][1] [1]: chart.googleapis.com/…

    – Mohammad
    Dec 11 '18 at 1:28














  • 1





    Could you please provide with us the equation of that spiral?

    – zyy
    Dec 11 '18 at 0:11











  • It's phase plane portrait of differential equations, x'=Ax that A=[matrix 2x2]. for more details please check the link @zyy

    – Mohammad
    Dec 11 '18 at 0:56













  • @Mohammad Could you please provide with us the equation of that spiral?

    – Andrew
    Dec 11 '18 at 1:03











  • @Andrew This is the formula [formula][1] [1]: chart.googleapis.com/…

    – Mohammad
    Dec 11 '18 at 1:28








1




1





Could you please provide with us the equation of that spiral?

– zyy
Dec 11 '18 at 0:11





Could you please provide with us the equation of that spiral?

– zyy
Dec 11 '18 at 0:11













It's phase plane portrait of differential equations, x'=Ax that A=[matrix 2x2]. for more details please check the link @zyy

– Mohammad
Dec 11 '18 at 0:56







It's phase plane portrait of differential equations, x'=Ax that A=[matrix 2x2]. for more details please check the link @zyy

– Mohammad
Dec 11 '18 at 0:56















@Mohammad Could you please provide with us the equation of that spiral?

– Andrew
Dec 11 '18 at 1:03





@Mohammad Could you please provide with us the equation of that spiral?

– Andrew
Dec 11 '18 at 1:03













@Andrew This is the formula [formula][1] [1]: chart.googleapis.com/…

– Mohammad
Dec 11 '18 at 1:28





@Andrew This is the formula [formula][1] [1]: chart.googleapis.com/…

– Mohammad
Dec 11 '18 at 1:28










2 Answers
2






active

oldest

votes


















10














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}


enter image description here



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}


enter image description here






share|improve this answer


























  • @Mohammad You're welcome!

    – marmot
    Dec 11 '18 at 2:20



















3














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}


enter image description here






share|improve this answer
























  • The quadratic growth is randomly or blindly chosen.

    – Artificial Stupidity
    Dec 11 '18 at 7:09











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%2f464222%2fdraw-a-spiral-like-an-ellipse%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









10














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}


enter image description here



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}


enter image description here






share|improve this answer


























  • @Mohammad You're welcome!

    – marmot
    Dec 11 '18 at 2:20
















10














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}


enter image description here



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}


enter image description here






share|improve this answer


























  • @Mohammad You're welcome!

    – marmot
    Dec 11 '18 at 2:20














10












10








10







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}


enter image description here



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}


enter image description here






share|improve this answer















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}


enter image description here



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}


enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited Dec 11 '18 at 2:14

























answered Dec 11 '18 at 2:07









marmotmarmot

98.4k4113218




98.4k4113218













  • @Mohammad You're welcome!

    – marmot
    Dec 11 '18 at 2:20



















  • @Mohammad You're welcome!

    – marmot
    Dec 11 '18 at 2:20

















@Mohammad You're welcome!

– marmot
Dec 11 '18 at 2:20





@Mohammad You're welcome!

– marmot
Dec 11 '18 at 2:20











3














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}


enter image description here






share|improve this answer
























  • The quadratic growth is randomly or blindly chosen.

    – Artificial Stupidity
    Dec 11 '18 at 7:09
















3














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}


enter image description here






share|improve this answer
























  • The quadratic growth is randomly or blindly chosen.

    – Artificial Stupidity
    Dec 11 '18 at 7:09














3












3








3







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}


enter image description here






share|improve this answer













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}


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 11 '18 at 7:07









Artificial StupidityArtificial Stupidity

5,55511040




5,55511040













  • The quadratic growth is randomly or blindly chosen.

    – Artificial Stupidity
    Dec 11 '18 at 7:09



















  • The quadratic growth is randomly or blindly chosen.

    – Artificial Stupidity
    Dec 11 '18 at 7:09

















The quadratic growth is randomly or blindly chosen.

– Artificial Stupidity
Dec 11 '18 at 7:09





The quadratic growth is randomly or blindly chosen.

– Artificial Stupidity
Dec 11 '18 at 7:09


















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%2f464222%2fdraw-a-spiral-like-an-ellipse%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

Probability when a professor distributes a quiz and homework assignment to a class of n students.

Aardman Animations

Are they similar matrix