Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

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

Search the Archive

yet another Evaluate question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg125451] yet another Evaluate question
  • From: Alan <alan.isaac at gmail.com>
  • Date: Wed, 14 Mar 2012 00:40:45 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com

Why does the following require using ``Evaluate`` to get the correct
plot legend?

Thanks,
Alan Isaac

Needs["PlotLegends`"]
plotfuncs = {a*x, a*x + b} /. {a -> 1.0, b -> 1.0}
Plot[Evaluate[plotfuncs], {x, 0, 1},
 PlotStyle -> {Red, Blue},
 PlotLegend -> {"first", "second"}]



  • Prev by Date: Export Data and Decimal Separator
  • Next by Date: Clearing a Checkbox
  • Previous by thread: Re: Export Data and Decimal Separator
  • Next by thread: Re: yet another Evaluate question