Hello,
I have a few different graphs which I would like to display in one. I found the combine function, which is not helpful since the goal is to plot the lines in the same graph. Another helpful function is the addplot function, however it is not working out for me.
Because I am new to Stata I use the graphics toolbar instead of trying to type the code myself. Using STATA 14 I don't see the option of adding plots together in this toolbar. The following three graphs are created in Stata:
twoway (line m_currentrate_2 nloandate, sort lcolor(blue) lwidth(medthick)) if originator=="X1" , ytitle(Average monthly) xtitle(Date) title(Average monthly) subtitle(X1) graphregion(fcolor(white))
twoway (line m_currentrate_2 nloandate, sort lcolor(green) lwidth(medthick)) if originator=="X2" , ytitle(Average monthly) xtitle(Date) title(Average monthly) subtitle(X2) graphregion(fcolor(white))
twoway (line m_currentrate_2 nloandate, sort lcolor(red) lwidth(medthick)) if originator=="X3" , ytitle(Average monthly) xtitle(Date) title(Average monthly) subtitle(X3) graphregion(fcolor(white))
Is there an option in the toolbar (within graphics) or another way to add these lines together in Stata?
Thank you for your help,
Danny
I have a few different graphs which I would like to display in one. I found the combine function, which is not helpful since the goal is to plot the lines in the same graph. Another helpful function is the addplot function, however it is not working out for me.
Because I am new to Stata I use the graphics toolbar instead of trying to type the code myself. Using STATA 14 I don't see the option of adding plots together in this toolbar. The following three graphs are created in Stata:
twoway (line m_currentrate_2 nloandate, sort lcolor(blue) lwidth(medthick)) if originator=="X1" , ytitle(Average monthly) xtitle(Date) title(Average monthly) subtitle(X1) graphregion(fcolor(white))
twoway (line m_currentrate_2 nloandate, sort lcolor(green) lwidth(medthick)) if originator=="X2" , ytitle(Average monthly) xtitle(Date) title(Average monthly) subtitle(X2) graphregion(fcolor(white))
twoway (line m_currentrate_2 nloandate, sort lcolor(red) lwidth(medthick)) if originator=="X3" , ytitle(Average monthly) xtitle(Date) title(Average monthly) subtitle(X3) graphregion(fcolor(white))
Is there an option in the toolbar (within graphics) or another way to add these lines together in Stata?
Thank you for your help,
Danny
Comment