Hello -
I am trying to run some commands that produce some plots, but stata doesn't generate them. The syntax is correct so I can't figure out what it is?

spagplot outcome time, id(id) ///
by(school) ///
title("Outcome over time") ///
ytitle("Outcome") ///
b1title("Time") ///
ylabel(0 5 10 15 20 25) ///
yscale(range(0 30)) ///

twoway scatter outcome time, ///
title("Relationship between outcome over time") ///
ytitle("Outcome") ///
b1title("Time") ///
ylabel(0 5 10 15 20 25) ///
yscale(range(0 30)) ///

Can somebody help troubleshoot?