The following plot styles allow regions of graphs to be shaded with colour:
Both of these plot styles fill specified regions of graphs with the selected fillcolour and draw a line around the boundary of the region with the selected colour, linetype and linewidth. They differ in the format in which they expect the input data to be arranged. The yerrorshaded plot style expects data to be arranged in the same format as the yerrorrange plot style, specifying the - and
-coordinates of a series of datapoints in the first two columns, together with the minimum and maximum extremes of the vertical errorbar on each datapointin the third and fourth columns. The region contained between the upper and lower limits of the error bars is filled with colour; the
-coordinate specified in the second column is unused. This plot style provides easy conversion between plots drawn with errorbars and with shaded error regions. Note that the datapoints must be sorted in order of either increasing or decreasing
-coordinate for sensible behaviour.
The shadedregion plot style takes only two columns of input data, specifying the - and
-coordinates of a series of datapoints which are to be joined in a join-the-dots fashion. At the end of each dataset, the drawn path is closed and filled.