Dear All,
I want to insert more than one note inside the scatter plot.
I want it like in the attachment
Thanks a lot.
these are my code (only 1 note is working other one not
graph set window fontface "Times New Roman"
graph twoway (scatter PAB Ageyears if sex==0, mcolor(lime)) ///
(scatter PAB Ageyears if sex==1, msymbol(S) mcolor(red)), ///
legend(label(1 Male) label(2 Female)) title("PAB vs Age Starified by gender") ///
note("Female" ///
"y=-0.13x+63.01" ///
"r=-0.277, p=0.092", pos(1) ring(0)) ///
note1("Male" ///
"y=-0.1303x+63.94" ///
"r=-0.239, p=0.0055", pos(11) ring(0))
I want to insert more than one note inside the scatter plot.
I want it like in the attachment
Thanks a lot.
these are my code (only 1 note is working other one not
graph set window fontface "Times New Roman"
graph twoway (scatter PAB Ageyears if sex==0, mcolor(lime)) ///
(scatter PAB Ageyears if sex==1, msymbol(S) mcolor(red)), ///
legend(label(1 Male) label(2 Female)) title("PAB vs Age Starified by gender") ///
note("Female" ///
"y=-0.13x+63.01" ///
"r=-0.277, p=0.092", pos(1) ring(0)) ///
note1("Male" ///
"y=-0.1303x+63.94" ///
"r=-0.239, p=0.0055", pos(11) ring(0))