Code:
clear
set obs 20
gen y1 = rnormal()
gen y2 = rnormal()
gen y3 = rnormal()
gen grp = 1
replace grp = 2 in 11/20
graph matrix y1 y2 y3, diagonal("First" "Second" "Third")
graph matrix y1 y2 y3, by(grp)
graph matrix y1 y2 y3, diagonal("First" "Second" "Third") by(grp)
I am using Stata/IC 15.1 but I had used this combination of options without any problems in previous versions of Stata.
Any suggestions?
