Hiding parts of a graph
- To: mathgroup at smc.vnet.net
- Subject: [mg30336] Hiding parts of a graph
- From: Amy Sommer <amsommer at pacific.mps.ohio-state.edu>
- Date: Sat, 11 Aug 2001 03:39:57 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
I have been trying to plot several variations of a parabola-like function
on one graph. The problem that I am encountering is that I only want part
of each function to appear on the graph. I have tried the following
example:
list = Table[Plot[x^2 + n, {x, n, 10}], {n, 0, 10, 1}]
Show[list]
That example works and graphs each function starting at the desired point.
The problem I am having is that I do not want equal intervals of n. I
have a list of values that I need to use as my n value. I have tried the
following with no success:
(This is an extremely simplified example of the function and n values that
I need to graph)
a={1,3,5.6,99,101.01}
Plot[Evaluate[ReplaceAll[x^2 + n, n->a]],{x, n, 10}] -- I have also tried
this with {x, a, 10}
If there are any ideas on how I might go about doing this please let me
know.
Thanks,
Amy Sommer