Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #9027
| From | Alan <alan.isaac@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | yet another Evaluate question |
| Date | 2012-03-14 05:44 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jjpb7s$p8o$1@smc.vnet.net> (permalink) |
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"}]
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
yet another Evaluate question Alan <alan.isaac@gmail.com> - 2012-03-14 05:44 +0000 Re: yet another Evaluate question Alan <alan.isaac@gmail.com> - 2012-03-15 05:32 +0000
csiph-web