I am trying to do a two way scatter plot from my analysis. The code which i am running in a do file is below:
Code:
sum abnormal_return, d sum cumulative_abnormal_return, d reg cumulative_abnormal_return if dif==0, robust preserve collapse (mean) abnormal_return, by(diff) twoway scatter abnormal_return diff if diff>=-2 & diff<=2, xlab(-2(1)2) c(l) xline(-1) xline(1) restore
Array
My ideal graph should look like the following graph
Array
Please suggest me how to change my code to get the x axis title and y axis title, the graph title on the top.
Looking forward to your suggestion
With sincere regards,
UP
0 Response to Two-way scatter plot title and axis title
Post a Comment