------------------------------------------------------------------------------- help forgrss-------------------------------------------------------------------------------

Graph Slide Show

grss{graphcmd}

grss

grssclearwhere

graphcmdis any Stata graph command.

Description

grssallows you to create a graph slide show which you can view later during your Stata session, also using thegrsscommand.

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 ShowGraph 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

grssfollowed 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 scienceWe can then view them like this.

. grssand we are shown the first graph (scatter read write) and are shown a

nextandpreviousbutton to rotate among the graphs.If you wish to clear out the carousel, you can type

. grss clearThis is useful if you use

grssin a .do file, then you may wish to start your .do file with thegrss clearcommand.

DetailsBy default, the graphs are stored as temporary graphs via the

graphrenamecommand. The graphs are namedgrss_graph1 grss_graph2and so on.

AuthorStatistical Consulting Group Institute for Digital Research and Education, UCLA idrestat@ucla.edu

AcknowledgementsWe are grateful to Phil Ender and Nick J. Cox for comments and suggestions on earlier versions of this program.

Also seeManual:

[R] graphOnline: help for graph