8

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?

David
  • 14,883
  • 4
  • 44
  • 117
  • 1
    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. – Simon Woods Nov 22 '14 at 22:57
  • 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). – DumpsterDoofus Nov 22 '14 at 22:58
  • Options[Plot] listing includes Evaluated -> Automatic – Bob Hanlon Nov 23 '14 at 02:48
  • 2
    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. – Bob Hanlon Nov 23 '14 at 02:58
  • 1
    @SimonWoods ProtoPlotDump sounds like an imprecation to me :) – Dr. belisarius Nov 23 '14 at 04:45
  • 1
    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. – Alexey Popkov Nov 23 '14 at 16:49
  • The strange behavior persists in Version 11.1 (Windows 10 - 64 Bit). – gwr Mar 29 '17 at 10:54

0 Answers0