Re: plots with variation of arbitrary constant
- To: mathgroup at smc.vnet.net
 - Subject: [mg60349] Re: [mg60316] plots with variation of arbitrary constant
 - From: "W. Craig Carter" <ccarter at mit.edu>
 - Date: Wed, 14 Sep 2005 03:27:16 -0400 (EDT)
 - References: <200509131006.GAA09646@smc.vnet.net>
 - Sender: owner-wri-mathgroup at wolfram.com
 
> 
> 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.
A straightforward way:
Plot[Table[Sin[x] + c,{c,10}],{x,0,Pi},PlotStyle->Table[Hue[0.66*c/10],{c,10}]
You may need to Evaluate[] on the first argument to Plot.
- References:
- plots  with variation of arbitrary constant
- From: "Narasimham" <mathma18@hotmail.com>
 
 
 - plots  with variation of arbitrary constant