Can anyone having Stata 16 already check if the following is occurring in it? Because in 15.1 the following code requires dropping one graph before plotting another, and I don't see any reason for that:
If the highlighted line is commented out - the second graphing statement results in error 198:
option(s) labelstyle( size(*.5)) not allowed
Or is it, perhaps, something obvious that I've missed again?
Thank you, Sergiy
Code:
version 15.1
clear all
sysuse nlsw88
graph hbar wage, over(union) over(occu) asyvar ///
legend(pos(2) col(1) size(*.5)) ///
name("legend")
graph drop _all // strangely the code works only with this line enabled
graph hbar wage, over(union) over(occu) asyvar ///
legend(pos(2) col(1) size(*.5)) ///
bar(1, fc(orange)) bar(2, fc(green)) ///
name("colors")
option(s) labelstyle( size(*.5)) not allowed
Or is it, perhaps, something obvious that I've missed again?
Thank you, Sergiy

Comment