MathGroup Archive 2002

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

Search the Archive

Re: Plot problem


Frank,

FuncList = {Exp[x], Sin[y], z^3};
VarList = {x, y, z};

MapThread[Plot[#1, {#2, -5, 5}] &, {FuncList, VarList}]

--
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


"Frank Brand" <frank.brand at t-online.de> wrote in message
news:aogj94$1p7$1 at smc.vnet.net...
> Dear colleagues,
>
> how can I solve the following problem: The task is to successively plot
> the functions given in FuncList with the accociated variable
>
>
> FuncList = {Exp[x], Sin[y], z^3};
>
> VarList = {x, y, z};
>
> Do[Plot[FuncList\[LeftDoubleBracket]
>        i\[RightDoubleBracket], {VarList\[LeftDoubleBracket]
>          i\[RightDoubleBracket], -5, 5}], {i, 1, Length[VarList]}]]
>
> Thanks in advance
> Frank Brand
>
>
>




  • Prev by Date: RE: Plot problem
  • Next by Date: Re: Plot problem
  • Previous by thread: RE: Plot problem
  • Next by thread: Is MathML 'good' XML