Vector field for a system of odes
Assume that you have the ode system
x'=xy-y,
y'=xy-x
How would one use pst-ode.sty to draw trajectories and vectorfield, say in the t-y plane?
pstricks
add a comment |
Assume that you have the ode system
x'=xy-y,
y'=xy-x
How would one use pst-ode.sty to draw trajectories and vectorfield, say in the t-y plane?
pstricks
2
Welcome to TeX.SE! Please show us the code you have tried so far.
– Kurt
Mar 16 at 16:43
add a comment |
Assume that you have the ode system
x'=xy-y,
y'=xy-x
How would one use pst-ode.sty to draw trajectories and vectorfield, say in the t-y plane?
pstricks
Assume that you have the ode system
x'=xy-y,
y'=xy-x
How would one use pst-ode.sty to draw trajectories and vectorfield, say in the t-y plane?
pstricks
pstricks
asked Mar 16 at 14:58
AntonisAntonis
111
111
2
Welcome to TeX.SE! Please show us the code you have tried so far.
– Kurt
Mar 16 at 16:43
add a comment |
2
Welcome to TeX.SE! Please show us the code you have tried so far.
– Kurt
Mar 16 at 16:43
2
2
Welcome to TeX.SE! Please show us the code you have tried so far.
– Kurt
Mar 16 at 16:43
Welcome to TeX.SE! Please show us the code you have tried so far.
– Kurt
Mar 16 at 16:43
add a comment |
1 Answer
1
active
oldest
votes
documentclass{article}
usepackage{pst-ode,pst-plot}
begin{document}
psset{xAxisLabel=$t$,xAxisLabelPos={c,-6ex},yAxisLabelPos={-3ex,c}}
begin{psgraph}(0,0)(0,0)(-10,1){10cm}{2.5cm}
pstODEsolve[algebraic]{TY}{0 1}{0.1}{4.5}{100}{0 0.1}{
x[0]*x[1]-x[1] | x[0]*x[1]-x[0]
}
listplot{TY}
end{psgraph}
end{document}
I have no idea what parameter you have for x'(0) and y'(0)
Dear Herbert thank you. Dear Kurt I have tried something similar to Herbert's code. My main issue is how do you deal with the vector field. If I am not mistaken the psVectorfield command takes care of an ode with one uknown function. Here we have a system with two functions x(t) and y(t). How do you deal with this? So about the vector field Kurt, I have no code I tried because I have no idea how to setup such a command.
– Antonis
Mar 17 at 20:09
Nobody knows? So maybe it is not supported?
– Antonis
Mar 20 at 7:15
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%2f479798%2fvector-field-for-a-system-of-odes%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
documentclass{article}
usepackage{pst-ode,pst-plot}
begin{document}
psset{xAxisLabel=$t$,xAxisLabelPos={c,-6ex},yAxisLabelPos={-3ex,c}}
begin{psgraph}(0,0)(0,0)(-10,1){10cm}{2.5cm}
pstODEsolve[algebraic]{TY}{0 1}{0.1}{4.5}{100}{0 0.1}{
x[0]*x[1]-x[1] | x[0]*x[1]-x[0]
}
listplot{TY}
end{psgraph}
end{document}
I have no idea what parameter you have for x'(0) and y'(0)
Dear Herbert thank you. Dear Kurt I have tried something similar to Herbert's code. My main issue is how do you deal with the vector field. If I am not mistaken the psVectorfield command takes care of an ode with one uknown function. Here we have a system with two functions x(t) and y(t). How do you deal with this? So about the vector field Kurt, I have no code I tried because I have no idea how to setup such a command.
– Antonis
Mar 17 at 20:09
Nobody knows? So maybe it is not supported?
– Antonis
Mar 20 at 7:15
add a comment |
documentclass{article}
usepackage{pst-ode,pst-plot}
begin{document}
psset{xAxisLabel=$t$,xAxisLabelPos={c,-6ex},yAxisLabelPos={-3ex,c}}
begin{psgraph}(0,0)(0,0)(-10,1){10cm}{2.5cm}
pstODEsolve[algebraic]{TY}{0 1}{0.1}{4.5}{100}{0 0.1}{
x[0]*x[1]-x[1] | x[0]*x[1]-x[0]
}
listplot{TY}
end{psgraph}
end{document}
I have no idea what parameter you have for x'(0) and y'(0)
Dear Herbert thank you. Dear Kurt I have tried something similar to Herbert's code. My main issue is how do you deal with the vector field. If I am not mistaken the psVectorfield command takes care of an ode with one uknown function. Here we have a system with two functions x(t) and y(t). How do you deal with this? So about the vector field Kurt, I have no code I tried because I have no idea how to setup such a command.
– Antonis
Mar 17 at 20:09
Nobody knows? So maybe it is not supported?
– Antonis
Mar 20 at 7:15
add a comment |
documentclass{article}
usepackage{pst-ode,pst-plot}
begin{document}
psset{xAxisLabel=$t$,xAxisLabelPos={c,-6ex},yAxisLabelPos={-3ex,c}}
begin{psgraph}(0,0)(0,0)(-10,1){10cm}{2.5cm}
pstODEsolve[algebraic]{TY}{0 1}{0.1}{4.5}{100}{0 0.1}{
x[0]*x[1]-x[1] | x[0]*x[1]-x[0]
}
listplot{TY}
end{psgraph}
end{document}
I have no idea what parameter you have for x'(0) and y'(0)
documentclass{article}
usepackage{pst-ode,pst-plot}
begin{document}
psset{xAxisLabel=$t$,xAxisLabelPos={c,-6ex},yAxisLabelPos={-3ex,c}}
begin{psgraph}(0,0)(0,0)(-10,1){10cm}{2.5cm}
pstODEsolve[algebraic]{TY}{0 1}{0.1}{4.5}{100}{0 0.1}{
x[0]*x[1]-x[1] | x[0]*x[1]-x[0]
}
listplot{TY}
end{psgraph}
end{document}
I have no idea what parameter you have for x'(0) and y'(0)
answered Mar 16 at 18:11
HerbertHerbert
276k25419734
276k25419734
Dear Herbert thank you. Dear Kurt I have tried something similar to Herbert's code. My main issue is how do you deal with the vector field. If I am not mistaken the psVectorfield command takes care of an ode with one uknown function. Here we have a system with two functions x(t) and y(t). How do you deal with this? So about the vector field Kurt, I have no code I tried because I have no idea how to setup such a command.
– Antonis
Mar 17 at 20:09
Nobody knows? So maybe it is not supported?
– Antonis
Mar 20 at 7:15
add a comment |
Dear Herbert thank you. Dear Kurt I have tried something similar to Herbert's code. My main issue is how do you deal with the vector field. If I am not mistaken the psVectorfield command takes care of an ode with one uknown function. Here we have a system with two functions x(t) and y(t). How do you deal with this? So about the vector field Kurt, I have no code I tried because I have no idea how to setup such a command.
– Antonis
Mar 17 at 20:09
Nobody knows? So maybe it is not supported?
– Antonis
Mar 20 at 7:15
Dear Herbert thank you. Dear Kurt I have tried something similar to Herbert's code. My main issue is how do you deal with the vector field. If I am not mistaken the psVectorfield command takes care of an ode with one uknown function. Here we have a system with two functions x(t) and y(t). How do you deal with this? So about the vector field Kurt, I have no code I tried because I have no idea how to setup such a command.
– Antonis
Mar 17 at 20:09
Dear Herbert thank you. Dear Kurt I have tried something similar to Herbert's code. My main issue is how do you deal with the vector field. If I am not mistaken the psVectorfield command takes care of an ode with one uknown function. Here we have a system with two functions x(t) and y(t). How do you deal with this? So about the vector field Kurt, I have no code I tried because I have no idea how to setup such a command.
– Antonis
Mar 17 at 20:09
Nobody knows? So maybe it is not supported?
– Antonis
Mar 20 at 7:15
Nobody knows? So maybe it is not supported?
– Antonis
Mar 20 at 7:15
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%2f479798%2fvector-field-for-a-system-of-odes%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
2
Welcome to TeX.SE! Please show us the code you have tried so far.
– Kurt
Mar 16 at 16:43