Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

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

Search the Archive

Re: Plotting multiple functions using Map

  • To: mathgroup at smc.vnet.net
  • Subject: [mg24300] Re: Plotting multiple functions using Map
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Fri, 7 Jul 2000 00:11:41 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <8k0tfi$q38@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

Evaluate[] ?

and 

f[x_, y_] := x + y

ylist = {1, 2, 3};
Plot[Evaluate[Map[f[x, #1] &, ylist]], {x, -3, 3}]

work fine. Plot[] has the hold all attribute and
so you must force the evaluation to get the list
of functions first.

Regards
  Jens


  • Prev by Date: Contour labeling
  • Next by Date: combining graphics
  • Previous by thread: Plotting multiple functions using Map
  • Next by thread: Re: Plotting multiple functions using Map