MathGroup Archive 2005

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

Search the Archive

Re: plots with variation of arbitrary constant

  • To: mathgroup at smc.vnet.net
  • Subject: [mg60347] Re: [mg60316] plots with variation of arbitrary constant
  • From: "Jaccard Florian" <Florian.Jaccard at he-arc.ch>
  • Date: Wed, 14 Sep 2005 03:27:14 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

If you want an animation :

Table[Plot[Sin[x] + c, {x, 0, Pi}, 
    PlotRange -> {-1, 12}, PlotStyle -> Hue[c/10]], 
   {c, 1, 10, 1}];

And then double-click on the bracket of the group of graphics. Then double-click the graph.

If you want all the graphics in one :

Plot[Evaluate[Table[Sin[x] + c, {c, 1, 10, 1}]], 
   {x, 0, Pi}, PlotStyle -> Table[Hue[c/10], 
     {c, 1, 10}]];

Regards
 
F.Jaccard


-----Message d'origine-----
De : Narasimham [mailto:mathma18 at hotmail.com] 
Envoyé : mardi, 13. septembre 2005 12:07
À : mathgroup at smc.vnet.net
Objet : [mg60316] plots with variation of arbitrary constant

How to show 2D plots for chosen range of a constant?
Show[Plot[Sin[x]+ c,{x,0,Pi}],{c,1,10,1}] does not work.


  • Prev by Date: Re: plots with variation of arbitrary constant
  • Next by Date: Re: Options in user-defined functions...
  • Previous by thread: Re: plots with variation of arbitrary constant
  • Next by thread: Hidden files