Set GridLines in Plot?

Hi,

I would like to see the GridLines behind the red region. How can I do that?

Thanks for your help.

col = {Darker[ColorData["Rainbow"][0.25], 0.2], 
  Darker[ColorData["Rainbow"][0.4], 0.2], 
  Lighter[ColorData["Rainbow"][0.8], 0.25], 
  Lighter[ColorData["Rainbow"](https://community.wolfram.com//c/portal/getImageAttachment?filename=3646Untitled.png&userId=943918), 0.2]}

list = { 8, 7, 6, 5, 4, 3, 2, 1}

{a, b} = {Min[list], Max[list]}

Plot[PDF[SmoothKernelDistribution@list, x], {x, a, b}, Frame -> True, 
 FrameTicksStyle -> Directive[Black, 14], ImageSize -> 500, 
 GridLines -> Automatic, Filling -> Bottom, FillingStyle -> col[[4]], 
 PlotRange -> All]

Reduce opacity of the filling to make it transparent:

Plot[PDF[SmoothKernelDistribution@list, x], {x, a, b}, Frame -> True,
 	FrameTicksStyle -> Directive[Black, 14], ImageSize -> 500, GridLines -> Automatic,
 	Filling -> Bottom, FillingStyle -> Directive[Opacity@0.5, col[[4]]],PlotRange -> All]

Thank so much, Hans.

Add the option: Method → {“GridLinesInFront“ → True}

Thank so much, Sander :slight_smile:

Daer Sander,

I have a question about the Taylor diagram. How do I send you the question?.