MathGroup Archive 2002

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

Search the Archive

Re: Plot problem


Hi,

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

VarList = {x, y, z};

Plot[Evaluate[#[[1]], {#[[2]], -5, 5}]] & /@ Transpose[{FuncList,
VarList}]

Regards
  Jens


Frank Brand wrote:
> 
> 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: c++ book
  • Previous by thread: Re: Plot problem
  • Next by thread: RE: Plot problem