1
$\begingroup$

is there a way to fill the area under the curves with dashed lines (left to right for one curve and right to left for the other) with a transparent filling between lines? I cannot even get dashing under the curve.

Show[{Plot[Sin[x], {x, 0, 2*Pi}, PlotStyle -> Blue, Filling -> Axis], 
  Plot[Cos[x], {x, 1, 2 Pi}, PlotStyle -> Green, Filling -> Axis, 
   FillingStyle -> Opacity[0.2]]}]
$\endgroup$
2
  • $\begingroup$ Have you seen this? $\endgroup$ Commented Jul 26, 2017 at 11:34
  • $\begingroup$ Actually, it helped. the solution to my problem is to use the RegionPlot and Mesh options. $\endgroup$
    – dziakku
    Commented Jul 26, 2017 at 13:51

0

Browse other questions tagged or ask your own question.