Graphics Reference
In-Depth Information
twoway scatter propval100 faminc, ylabel(, labgap(*5) )
We can control the gap between the
label and the tick with the labgap()
option. In this example, we increase the
gap between the
y
-labels and the
y
-ticks to five times the original size.
Uses allstatesdc.dta & scheme vg s1c
15000
20000
25000
30000
1979 Median Family Inc.
twoway scatter propval100 faminc,
ylabel(, tlength(*1.5) tlwidth(*3) tposition(crossing) )
You can control the tick length with
the tlength() option, the tick line
width with the tlwidth() option, and
the tick position with the tposition()
option. In this example, we make the
tick length 1.5 times normal and the
width three times normal, with the
ticks crossing the
-axis.
Uses allstatesdc.dta & scheme vg s1c
y
15000
20000
25000
30000
1979 Median Family Inc.
twoway scatter propval100 faminc,
ytick(0(10)100, tposition(outside) )
ymtick(5(10)95, tposition(inside) )
In this example, we place major ticks
from 0 to 100, incrementing by 10,
locating the ticks on the outside of the
plot, and place minor ticks from 5 to
95, incrementing by 10, placing the
ticks on the inside of the plot region.
Uses allstatesdc.dta & scheme vg s1c
15000
20000
25000
30000
1979 Median Family Inc.
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