Graphics Reference
In-Depth Information
The economist scheme would be our default scheme, even after we quit and start Stata
again. If we will be creating a series of graphs that we want to have a common look, then
schemes are a very powerful tool for accomplishing this. Even though Stata has a variety
of built-in schemes, we may want to obtain other schemes. The findit command can be
used to search for information about schemes and to download schemes that others have
developed. To search for schemes, type
. findit scheme
and Stata will list web pages and packages associated with the word scheme .
See Intro : Schemes (14) for an overview of the schemes used in this topic and Appendix : Online sup-
plements (382) for instructions for obtaining the schemes for this topic.
Seeing how powerful and flexible schemes are, we might be interested in creating our
own schemes.
Stata gives us complete control over creating schemes.
The section Ap-
pendix : Customizing schemes (379) provides tips for getting started.
9.3
Sizing graphs and their elements
This section illustrates how to use the xsize() and ysize() options to control the size
and aspect ratio of graphs. It also illustrates the use of the scale() option for controlling
the size of the text and markers. This section uses the vg s1c scheme.
scatter propval100 ownhome
Let's first consider this graph. The
graphs in this topic have been sized to
be 3 inches wide by 2 inches tall.
Although we do not see it, some graphs
are sized via an xsize() and ysize()
option, and some are sized via schemes.
Uses allstates.dta & scheme vg s1c
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