0

I would like to create filled chart similar to this image with marked gray vertical dotted lines.

image

4
  • 2
    I'm too lazy to make a proper answer right now, but search for \closedcycle in the pgpflots manual to make the filled part. For the dashed lines, make a second plot with ycomb. If you get stuck, post the code you got, and someone will be able to fill in the blanks. Sep 18, 2017 at 21:13
  • Thanks, I didn't know that, so I will check pgfplots documentation. Sep 18, 2017 at 21:30
  • You mean you didn't before? But you tagged it pgfplots.
    – cfr
    Sep 18, 2017 at 22:25
  • I didn't use \closedcycle before. Sep 19, 2017 at 4:31

0

Browse other questions tagged .