How can I use "Filling" in plot with two different styles?
Specifically, I want to change the second "filling" to HatchFill with lines?
Plot[{x, 2 x}, {x, 0, 1}, Filling -> {1 -> {2}, 2 -> Top}]
I come up with a complex method as follow:
Plot[{x, 2 x}, {x, 0, 1}, Filling -> {1 -> {2}}]
Plot[{x, 2 x}, {x, 0, 1}, Filling -> {2 -> Top},
FillingStyle -> HatchFilling[]]
Show[{%1,%2}]
Is there a simple way to express the two needs in one sec? Thx a lot!
Plot[{x, 2 x}, {x, 0, 1}, Filling -> {1 -> {2}, 2 -> {Top, Directive[Green, HatchFilling[]]}}]
$\endgroup$