开发者

Mathematica: ListLinePlot & RegionFunction - a bug or a documentation issue?

The doc for RegionFunction states:

Mathematica: ListLinePlot & RegionFunction - a bug or a documentation issue?

However, RegionFunction is not mentioned in the doc for ListLinePlot. Trying to u开发者_开发知识库se it:

Mathematica: ListLinePlot & RegionFunction - a bug or a documentation issue?

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}]]
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜