Mathematica: ListLinePlot & RegionFunction - a bug or a documentation issue?
The doc for RegionFunction
states:
However, RegionFunction
is not mentioned in the doc for ListLinePlot
.
Trying to u开发者_开发知识库se it:
So, it seems a doc issue. Any ideas?
I think it's a bug, in the documentation. Supporting RegionFunction
in List(Line)Plot
would be a good feature addition, however. (Please email support@wolfram.com.)
One workaround would be to replace points that are "out of bounds" with None
:
ListLinePlot[
Function[{w, y}, If[y < 0.5, {w, y}, None]] @@@
Table[{x, Sin[x]}, {x, 0, 2 Pi, 0.1}]]
精彩评论