I'm relatively new to Stata and trying to create a graph with a legend that satisfies my aesthetic prejudices but can't seem to eliminate the box or border around the legend. Example code here:
produces this graph using StataIC 13.1 for Windows

Why is there still a box around the legend when I have specified the "nobox" option? From my reading of the documentation, this is a textbox option inside a legend option. I don't seem to be able to change other textbox options either so I suspect that I'm missing something that tells Stata that I'm trying to specify a textbox option. Any suggestions would be appreciated.
Code:
clear
input treat time y
0 0 30.8
0 1 26.9
0 2 25.8
0 3 23.8
1 0 26.5
1 1 14.8
1 2 19.5
1 3 21.0
end
twoway (line y time if treat==0, lcolor(blue)) ///
(line y time if treat==1, lcolor(red)), ///
legend(label(1 Placebo) label(2 Treatment) nobox ///
cols(1) ring(0) bplacement(ne) )
Why is there still a box around the legend when I have specified the "nobox" option? From my reading of the documentation, this is a textbox option inside a legend option. I don't seem to be able to change other textbox options either so I suspect that I'm missing something that tells Stata that I'm trying to specify a textbox option. Any suggestions would be appreciated.

Comment