Skip to main content
1 of 3
Jens
  • 97.9k
  • 7
  • 215
  • 510

If you want to combine the thickness with the color information, you could do this:

Plot[{1.1 Sin[x], .9 Sin[x]}, {x, 0, 3 Pi}, 
 PlotStyle -> {Thickness[0.01]}, ColorFunction -> "BlueGreenYellow", 
 Filling -> {1 -> {2}}]

thickness

Thanks Kuba for pointing out Artes' answer that shows how Filling can work here.

Jens
  • 97.9k
  • 7
  • 215
  • 510