Register to reply

Use DO loop in Plot order at mathematica 8

by es.no
Tags: do loop, loop, mathematica, order, plot
Share this thread:
es.no
#1
Oct19-13, 03:23 PM
P: 10
Can anyone help me to in this problem?
I want to use DO loop in Plot order at mathematica 8, how can I do this?
I want to change one variables and see the changes in other variables in the graph, and want to plot all of my graph in one Plot order. Like this.

I Uploaded my file too.
Attached Thumbnails
mmmmm.png  
Phys.Org News Partner Science news on Phys.org
Climate change increases risk of crop slowdown in next 20 years
Researcher part of team studying ways to better predict intensity of hurricanes
New molecule puts scientists a step closer to understanding hydrogen storage
Bill Simpson
#2
Oct19-13, 10:17 PM
P: 1,028
This does not use a Do loop.

Look up Plot in the help system and see that

Plot[{f1,f2,f3} will plot f1 and f2 and f3 on the same graph.

Then realize you can make {f1,f2,f3} using Table[].

Plot[Table[Sqrt[r^2 - x^2], {r, 1, 4}], {x, 0, 4}, AspectRatio -> Automatic]

Or do this the hard and error prone way with a Do loop

r = 4;
plotlist = {};
Do[
AppendTo[plotlist, Plot[Sqrt[r^2 - x^2], {x, 0, 4}]];
r = r - 1
, {4}];
Show[plotlist, AspectRatio -> Automatic]


Register to reply

Related Discussions
Help on Mathematica Math & Science Software 3
Mathematica Help! General Math 3
Mathematica 4.0 kernel crashes Math & Science Software 3
Mathematica there is a possibility to twist and turn 3D graphs Math & Science Software 4
Wanted to write a mathematica program Math & Science Software 17