On 10/18/12 9:40 AM, Doaa El-Sakout wrote:
What I want to plot something like in the attached image.
This image made it by using Matlab.



On 18 October 2012 15:15, Jason Grout <jason-s...@creativetrax.com
<mailto:jason-s...@creativetrax.com>> wrote:

    On 10/18/12 7:43 AM, Doaa El-Sakout wrote:

        Hi everyone,
           I would like to know, how can I plot phase space in 3D using
        SAGE.
           When I Google it, I found it using Matlab.

        Any suggestions,


    Do you mean like the last example here?

    http://alpha.sagenb.org/home/__pub/444/
    <http://alpha.sagenb.org/home/pub/444/>





That's like the last command in the above example. Here it is so you can see it without logging in:

http://aleph.sagemath.org/?q=60f5525b-4cb4-426c-844b-b2a36e8ac012&lang=sage

At the bottom, the relevant code is:

F(x,y,z)=(sin(y),x-y-cos(z),-sin(y))
solution=DESolution(F,[t,0,8],[(x,0.8),(y,0.5),(z,0.3)])
solution.phase_plot()

Thanks,

Jason


--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to sage-support@googlegroups.com.
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to