I would like to add specific lines to multiple graphs using the command DRAW (or something else you might suggest).
Here is the image of my graph :
Here is the code I'm using :
Code: Select all
beta1.displayname Beta for lag=3M
beta2.displayname Beta for lag=6M
beta3.displayname Beta for lag=9M"
beta4.displayname Beta for lag=12M
freeze(beta_au) temp.line(m)
beta_au.addtext(t,textcolor(blue),font("arial", 20,+b)) "AUSTRALIE"
scalar mbeta1 = @mean(beta1)
beta_au.draw(line, left) mbeta1
show beta_au
I got 2 questions :
1) How can I add specific lines to each graph in the figure ? For instance, the horizontal lines you can see in all graphs is the mean of "beta for lag 3". The command "beta_au.draw(line, left) mbeta1" is adding the mean of beta1 to all graphs whereas I would like to have each graph with its own mean.
2) How can I add a text to each horizontal line ? I added the "0.6" you see in the first graph manually.
Thanks for your help,
Mara