Re: Plot, Table.

*To*: mathgroup at smc.vnet.net*Subject*: [mg19931] Re: Plot, Table.*From*: "Allan Hayes" <hay at haystack.demon.co.uk>*Date*: Wed, 22 Sep 1999 04:11:14 -0400*References*: <7s79j8$hu2@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

OscarRondoni Garcia <kaesarzm at teleline.es> wrote in message news:7s79j8$hu2 at smc.vnet.net... > Can I plot a family of functions at the same coordinate system? > For example: > y = a x^2 a = 1,2,........,20 > Thanks for all readers. > -- > kaesarzm at teleline.es > > > Oscar: Plot[Evaluate[Table[a x^2, {a, 1, 20}]], {x, 0, 1}] or data = Table[a x^2, {a, 1, 20}]; Plot[Evaluate[data], {x, 0, 1}] Element is essential so that the list is constructed before Plot looks at what it has to work on. Allan --------------------- Allan Hayes Mathematica Training and Consulting Leicester UK www.haystack.demon.co.uk hay at haystack.demon.co.uk Voice: +44 (0)116 271 4198 Fax: +44 (0)870 164 0565