I want to create a histogram with the option xline but I want to tell Stata which xline value should be taken according to the year variable in my data set.
For example,