FillBetween¶
-
FillBetween(x1, y1, x2, y2, arg...; kvs...)¶ PlotComponentthat fills the area between the lines connecting the data points inx1,y1andx2,y2respectively.argsandkvscan be used to set additional style attributes.
Attributes¶
| fillcolor | Integer | |
| fillkind | Integer |
Example¶
x1 = 0:0.05:2pi
x2 = x1
y1 = 0.5 * sin.(x1)
y2 = 1.0 * sin.(x2)
f = FillBetween(x1, y1, x2, y2, fillcolor="magenta")
p = FramedPlot()
add(p, f)
