Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Plotting Many Functions' topicStudent Support Forum > General > "Plotting Many Functions"

Next Comment >Help | Reply To Topic
Author Comment/Response
Tom
06/17/10 9:23pm

Hello, I appreciate your time.

With Mathematica 7, I am trying to plot many functions. Upwards of a thousand.

As an example, my function is f(x)=x+n with "n" in the interval [0,1] in tiny step sizes. Instead of placing each graph's command in a Show function (nearly a thousand entries), I'd like to automate this.

My current method is:
Use a for loop to automate the generation of individual plots as such:
For[n = 0, n < 1, n = n + .1,
gg[n]=Plot[{x+n},{x,-1,1}]]

And then I had planned on using Show to show them all...but that was a disaster.

Show[<junk>]

The computer did not like this one bit.

How do I show all 1,000 of these graphs without writing out 1,000 plot commands?

Thank you very much for your time and expertise.

URL: ,

Subject (listing for 'Plotting Many Functions')
Author Date Posted
Plotting Many Functions Tom 06/17/10 9:23pm
Re: Plotting Many Functions yehuda ben-s... 06/21/10 2:53pm
Re: Plotting Many Functions Peter Pein 06/21/10 7:13pm
Re: Plotting Many Functions yehuda ben-s... 06/23/10 10:26am
Re: Re: Plotting Many Functions Tom 07/01/10 7:10pm
Next Comment >Help | Reply To Topic