I am trying to plot the expected distribution of yield (histogram) for crops for different types of farmer. The histogram of yields for each farmer type appears in the panel form.
How can I add xlines to every panel plots? xlines preferably could be the mean yields for each category(types of farmer).
Provided below is the code for my histogram plots without xlines.
How can I add xlines to every panel plots? xlines preferably could be the mean yields for each category(types of farmer).
Provided below is the code for my histogram plots without xlines.
Code:
hist exp_yield if crop==1, by(I6, total style(compact) xrescale yrescale note("") subtitle(, ring(0) pos(1) nobexpand nobox size(*.7))) color(eltgreen) barwidth(3) xtitle("Expected distribution of yield: in 100 kgs" , size(*0.7)) ytitle("") ylab(, nogrid) scheme(s1mono)
Comment