This took me forever to figure out, because I kept searching for terms like "change width" which directs you to line width code. Finally I found a snippet of code for xsize and searching that led me to this handy tutorial on aspect ratios and other fun scatter plot techniques.
My code:
twoway (scatter mathach newid, ylabel(-10(5)35)) (scatter meanmathach newid, connect(1) clcolor(red) sort), ysize(3) xsize(5)
Per the bolded code, the resulting graph will be produced in a 3x5 aspect ratio.
No comments:
Post a Comment