MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Hiding parts of a graph

  • To: mathgroup at
  • Subject: [mg30368] Re: [mg30336] Hiding parts of a graph
  • From: BobHanlon at
  • Date: Sun, 12 Aug 2001 02:29:56 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

In a message dated 2001/8/11 4:09:45 AM, amsommer at 

>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
>list = Table[Plot[x^2 + n, {x, n, 10}], {n, 0, 10, 1}]
>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)
>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


list = (Plot[x^2 + #, {x, #, 10}]& /@ a);

Bob Hanlon
Chantilly, VA  USA

  • Prev by Date: Re: Re: Problem with FourierTransform
  • Next by Date: Re: using findroot for multiple functions
  • Previous by thread: Hiding parts of a graph
  • Next by thread: RE: Hiding parts of a graph