MathGroup Archive 2005

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

Search the Archive

Re: plots with variation of arbitrary constant


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