8
$\begingroup$

Done a bit of reading: Normal[Series[ ]] does not give a normal expression

Regarding the Evaluated->True, consider:

Plot[Evaluate[0 + {Sin[x], Cos[x]}], {x, 0, 4 Pi}, Filling -> Axis]

enter image description here

But now let's see what Evaluated->True does.

Plot[0 + {Sin[x], Cos[x]}, {x, 0, 4 Pi}, Filling -> Axis, 
 Evaluated -> True]

enter image description here

Why the difference?

$\endgroup$
  • 1
    $\begingroup$ This appears to be a bug. At some point during the plot creation (inside System`ProtoPlotDump`iPlot) the Filling option value is processed to generate a full filling description for each plotted curve. This process does not take into account the Evaluated option and so sees only a single expression in your second example, and therefore only creates a Filling specification for one curve. I suggest you submit a bug report to Wolfram. $\endgroup$ – Simon Woods Nov 22 '14 at 22:57
  • $\begingroup$ Weird. Evaluated does not appear to be an option listed in the Documentation Center for Plot, and Evaluated does not even appear to have a documentation entry (but it's obviously built-in and recognized). $\endgroup$ – DumpsterDoofus Nov 22 '14 at 22:58
  • 2
    $\begingroup$ Both Plot[{Sin[x], Cos[x]}, {x, 0, 4 Pi}, Filling -> Axis, Evaluated -> True] and Plot[{0 + Sin[x], 0 + Cos[x]}, {x, 0, 4 Pi}, Filling -> Axis, Evaluated -> True] work as expected. The problem with Evaluated appears to be related to the depth of the expression to be Evaluated. $\endgroup$ – Bob Hanlon Nov 23 '14 at 2:58
  • 1
    $\begingroup$ @SimonWoods ProtoPlotDump sounds like an imprecation to me :) $\endgroup$ – Dr. belisarius Nov 23 '14 at 4:45
  • 1
    $\begingroup$ In version 8.0.4 I get the expected result in all cases, proof. So it appears to be another new-in-v.10 bug. $\endgroup$ – Alexey Popkov Nov 23 '14 at 16:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.