------------------------------------------------------------------------------- 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.
. use https://stats.idre.ucla.edu/stat/stata/notes/hsb2 . grss scatter read write . grss scatter read math . grss scatter read science
We can then view them like this.
. grss
and we are shown the first graph (scatter read write) and are shown a next and previous button to rotate among the graphs.
If you wish to clear out the carousel, you can type
. grss clear
This is useful if you use grss in a .do file, then you may wish to start your .do file with the grss clear command.
Details
By default, the graphs are stored as temporary graphs via the graph rename command. The graphs are named grss_graph1 grss_graph2 and so on.
If you have comments or suggestions, please email Michael Mitchell at mnm@ucla.edu .
Author
Michael N. Mitchell Statistical Computing Group UCLA, Academic Technology Services mnmatucla.edu
Acknowledgements
I am grateful to Phil Ender and Nick J. Cox for comments and suggestions on earlier versions of this program.
Also see
Manual: [R] graph
Online: help for graph