Hi statalist,

I have the following data:

Code:
* Example generated by -dataex-. For more info, type help dataex
clear
input byte period float(time return predicted_return abnormal_return)
1 1  -.0015407993 -.0008083973  -.000732402
1 2   .0019429044 -.0010541489   .002997053
1 3   -.023466034  .0014670364   -.02493307
1 4  -.0030919516 -.0022815885 -.0008103631
1 5  -.0015958005  .0001712715  -.001767072
2 1    .003430538   .001985073   .001445465
2 2   -.001894033  .0004734376 -.0023674704
2 3   -.020554027  .0014578053   -.02201183
2 4    .002066248   .002363168 -.0002969196
2 5 -.00005386278  .0003358708 -.0003897336
end
label values time t
label def t 1 "t-1", modify
label def t 2 "t", modify
label def t 3 "t+1", modify
label def t 4 "t+2", modify
label def t 5 "t+3", modify

I want to make a graph out if it so that I get points for all of the values of the variables return, predicted_return and abnormal_return.
The x-axis should be the time t-1 to t+3.
the y-axis should be the values.

Also would be great if the three variables get different shapes and the period 1 is blue and period 2 is red.

Have you some recommendations how to do that?