Graphics Reference
In-Depth Information
graph dot prev exp tenure, over(occ7) linetype(rectangle)
rwidth(3) rectangles(fcolor(erose) lcolor(maroon))
Here, we change the linetype() to be
a rectangle. The rwidth(3) sets the
rectangle width to be three times its
normal width. In addition, the
rectangle() option is used to
customize it, using the fcolor() (fill
color) and lcolor() (line color)
options to make the rectangle rose on
the inside with a maroon outline.
Uses nlsw.dta & scheme vg s2c
Prof
Mgmt
Sales
Cler.
Operat.
Labor
Other
0
2
4
6
8
mean of prev_exp
mean of tenure
Let's now look at options that allow us to control the markers and whether the markers
are displayed on the same line.
graph dot prev exp tenure, over(occ7)
marker(1, msymbol(D) mcolor(teal) msize(large))
Here, we use the marker() option to
control the marker used for the first
y
Prof
-variable, making it a large
teal-colored diamond. See
Options : Markers (235) for more details
on how you can control markers.
Uses nlsw.dta & scheme vg s2c
Mgmt
Sales
Cler.
Operat.
Labor
Other
0
2
4
6
8
mean of prev_exp
mean of tenure
The electronic form of this topic is solely for direct use at UCLA and only by faculty, students, and staff of UCLA.
Search WWH ::




Custom Search