Saturday, March 4, 2023

Shading in Graphs

I am trying to plot a single time series on a graph, with dates on the x axis. I would like to shade the part in between two dates to indicate a period of time. How may I do this?

For example, I plot using the command:

twoway line series1 date, xline(500 600)

How may I shade the part between points 500 and 600?

No comments:

Post a Comment