- sysuse xtline1
- xtset person day
- xtline calories, tlabel(#3)
复制代码Title
[XT] xtline -- Panel-data line plots
Syntax
Graph by panel
xtline varlist [if] [in] [, panel_options]
Overlaid panels
xtline varname [if] [in], overlay [overlaid_options]
panel_options Description
-----------------------------------------------------------------------------------------------------------------------------
Main
i(varname_i) use varname_i as the panel ID variable
t(varname_t) use varname_t as the time variable
Plot
cline_options affect rendition of the plotted points connected by lines
Add plots
addplot(plot) add other plots to the generated graph
Y axis, Time axis, Titles, Legend, Overall
twoway_options any options other than by() documented in [G-3] twoway_options
byopts(byopts) affect appearance of the combined graph
---------------------------------------------------------------------------------------