Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: ParametricPlot Remark
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Andrei Constantinescu

Posts: 32
Registered: 12/7/04
ParametricPlot Remark
Posted: May 14, 1997 1:09 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


Hellow !

... so I just remarked a pretty unusual thing with ParametricPlot / 3D ,
and theirs Automatic PlotPoints number !

So lets resume:

ParametricPlot - works fine giving nice smooth courbes ,

wether

ParametricPlot3D - samples largely giving a pretty zigzag form !

SURE , I can be fitted by hand, ... and I did it ! But does someone
understand why this happens ?

You have bellow a sample program of the Lorenz Equations in order to
test it !

Have fun !

a + andrei

s = 10;
b = 8/3;
r = 167;

tmax = 10;

eq = {
x'[t] == s ( y[t] - x[t] ),
y'[t] == r x[t] - y[t] - x[t] z[t],
z'[t] == - b z[t] + x[t] y[t],
x[0] == 0,
y[0] == 1,
z[0] == 0
}

sol = NDSolve[ eq, {x,y,z} , {t, 0, tmax},
MaxSteps -> 5000, StartingStepSize -> 0.001]

ParametricPlot3D[ Evaluate[{x[t], y[t], z[t]} /. sol[[1]] ], {t,0,tmax},
PlotRange -> All ]
ParametricPlot[ Evaluate[{z[t], x[t]} /. sol[[1]] ], {t,0,tmax} ,
PlotRange -> All ]
ParametricPlot[ Evaluate[{z[t], y[t]} /. sol[[1]] ], {t,0,tmax} ,
PlotRange -> All ]
ParametricPlot[ Evaluate[{x[t], y[t]} /. sol[[1]] ], {t,0,tmax} ,
PlotRange -> All ]

______________________________________________________________________
Andrei Constantinescu constant@athena.polytechnique.fr

LMS Ecole Polytechnique tel: (33)-1-69.33.33.30
91128 PALAISEAU cedex - FRANCE fax: (33)-1-69.33.30.26





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.