The doc for RegionFunction
states:
However, RegionFunction
is not mentioned in the doc for ListLinePlot
.
Trying to use it:
So, it seems a doc issue. Any ideas?
You can also change the size of points in a plot by using the graphics directives PointSize or AbsolutePointSize with the PlotStyle option. Here, PointSize is used with PlotStyle to set the size of points in the plot.
I think it's a bug, in the documentation. Supporting RegionFunction
in List(Line)Plot
would be a good feature addition, however. (Please email [email protected].)
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}]]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With