自己下载grss命令。
http://www.ats.ucla.edu/stat/stata/ado/analysis/grss.hlp.htm
-------------------------------------------------------------------------------
help for grss
-------------------------------------------------------------------------------
Graph Slide Show
grss {graphcmd}
grss
grss clear
where graphcmd is any Stata graph command.
Description
grss allows you to create a graph slide show which you can view later
during your Stata session, also using the grss command.
Usage 1: Adding Graphs to the Graph Slide Show
. grss <graph command>
Usage 2: Showing the Graph Slide Show
. grss
Usage 3: Clearing the Graph Slide Show
. grss clear
Using Graph Slide Show
Graph Slide Show is a wrapper program that allows you to create graphs
either at the command line or in a .do file and then view the graphs
afterward using a pushbutton carousel graph viewer.
You add graphs to the carousel by typing grss followed by any Stata
command that creates a graph (e.g. graph, scatter, histogram). For
example, below we will read in the "hsb2" data file and add three graphs
to the carousel.
**************************************************************************************************
********************************************************************************************
*例子:
sysuse auto, clear
grss histogram price
grss histogram weight
grss twoway (scatter price weight)
grss graph box price, over(foreign)
grss
*grss clear /*这一句可以先不执行*/
***********************************************************************************