Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 65976

twoway scatter plot: insert more than 1 note

$
0
0
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))

Viewing all articles
Browse latest Browse all 65976

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>