@@ -1647,6 +1647,31 @@ C<linespoints>).
16471647Selects a fractional size for point glyphs, relative to the default size
16481648on your terminal, for plots that render points as small glyphs.
16491649
1650+ =item fillcolor (abbrev 'fc')
1651+
1652+ Fills an area plot like C<filledcurves> with a color.
1653+ It has the same format as C<linecolor>. This will fill the whole plot with
1654+ the same color. To fill above a threshold or below a threshold, you need to
1655+ use C<above> and C<below> options.
1656+
1657+ An example to plot data in a single function call is below:
1658+
1659+ plot({ with => 'filledcurves', fillcolor => 'green', above => 'y=0' },
1660+ x, y,
1661+ { with => 'filledcurves', fillcolor => 'red', below => 'y=0' },
1662+ x, y);
1663+
1664+
1665+ =item below
1666+
1667+ This is used for C<filledcurves> to set a C<fillcolor> below a threshold.
1668+ You can set the value like "y=0" if you want to color below the Y-axis value of 0.
1669+
1670+ =item above
1671+
1672+ This is used for C<filledcurves> to set a C<fillcolor> above a threshold.
1673+ You can set the value like "y=0" if you want to color above the Y-axis value of 0.
1674+
16501675=item fillstyle (abbrev 'fs')
16511676
16521677Specify the way that filled regions should be colored, in plots that
@@ -2465,8 +2490,8 @@ Added in 2.025.
24652490
24662491 $w=gpwin();
24672492 $w->multiplot(layout=>[2,1]);
2468- $w->plot({title=>"points},with=>'points',$a,$b);
2469- $w->plot({title=>"lines",with=>"lines",$a,$b);
2493+ $w->plot({title=>"points" },with=>'points',$a,$b);
2494+ $w->plot({title=>"lines"} ,with=>"lines",$a,$b);
24702495 $w->end_multi();
24712496
24722497=for ref
0 commit comments