Graphics Reference
In-Depth Information
scatter propval100 ownhome, scale(.5)
We can also use the scale() option to
decrease the size of the text and
markers. Here, we make the size of
these elements half their normal size.
Uses allstates.dta & scheme vg s1c
40
50
60
70
80
% who own home
9.4
Changing the look of graph regions
This section discusses the region options that can be controlled via the plotregion()
and graphregion() options. These allow we to control the color of the plot region and
graph region, as well as the lines that border these regions.
For more information, see
[ G ] region options . This section uses the vg s2c scheme.
scatter propval100 ownhome, title("My title")
Consider this scatterplot. In general,
Stata sees this graph as having two
overall regions. The area inside the
My title
x
-
and
-axes where the data are plotted
is called the plot region . In this graph,
the plot region is white. The area
surrounding the plot region, where the
axes and titles are placed, is called the
graph region . In this graph, the graph
region is shaded light blue.
Uses allstates.dta & scheme vg s2c
y
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.
Search WWH ::




Custom Search