Graphics Reference
In-Depth Information
scatter propval100 ownhome, title("My title")
plotregion(color(stone)
)
Here, we use
plotregion(color(stone))
to make
the color of the plot region stone. The
color()
option controls the color of the
plot region.
Uses allstates.dta & scheme vg s2c
My title
40
50
60
70
80
% who own home
scatter propval100 ownhome, title("My title") plotregion(
lcolor(navy)
lwidth(thick)
)
In this graph, we put a thick, navy blue
line around the plot region using the
lcolor()
and
lwidth()
options. This
puts a bit of a frame around the plot
region.
Uses allstates.dta & scheme vg s2c
My title
40
50
60
70
80
% who own home
scatter propval100 ownhome, title("My title")
graphregion(color(erose))
Here, we use the
graphregion(color(erose))
option to
modify the color of the graph region to
be erose, a light rose color. The graph
region is the area outside of the plot
region where the titles and axes are
displayed.
Uses allstates.dta & scheme vg s2c
My title
40
50
60
70
80
% who own home
The electronic form of this topic is solely for direct use at UCLA and only by faculty, students, and staff of UCLA.