Graphics Reference
In-Depth Information
scatter propval100 ownhome, title("My title")
graphregion( ifcolor(erose) fcolor(maroon) )
The graph region is actually composed
of an inner part and an outer part.
Here, we use the ifcolor(erose)
option to make the inner graph region
light rose and the fcolor(maroon)
option to make the outer graph region
maroon. This has the effect of putting a
maroon frame around the entire graph.
Uses allstates.dta & scheme vg s2c
My title
40
50
60
70
80
% who own home
scatter propval100 ownhome, title("My title")
graphregion( lcolor(navy) lwidth(vthick) )
We can put a somewhat different frame
around the graph by altering the size
and color of the line that surrounds the
graph region. Using the lcolor(navy)
lwidth(vthick) options gives this
graph a very thick, navy blue border.
Uses allstates.dta & scheme vg s2c
My title
40
50
60
70
80
% who own home
This section omitted numerous options that we could use to control the plot region and
graph region, including further control of the inner and outer regions and further control of
the lines that surround these regions. Stata gives us more control than we generally need,
so rather than covering these options here, I refer you to [ G ] region options .
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