MathGroup Archive 2012

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

Search the Archive

yet another Evaluate question


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