Graphics Reference
In-Depth Information
Figure . . A simple barchart of birth rate for three different types of government
thereof) forthe barplot would beastatement of the following form(fromp. of the
Grammar of Graphics, st edn. Wilkinson, ):
FRAME: gov * birth
GRAPH: bar()
A description consistent with this chapter would involve a description of the coor-
dinate systems and graphical shapes that make up the plot. For example, the barplot
consists of a plotting region and several graphical elements. he plotting region is
positioned to provide margins for axes and has scales appropriate to the range of the
data.hegraphicalelementsconsistofaxesdrawnontheedgesoftheplottingregion,
plus three rectangles drawn relative to the scales within the plotting region, with the
height of the rectangles based on the birth rate data.
Complete Plots
3.1
We will start with the most obvious feature of statistical graphics sotware: the user
shouldbeable toproducegraphical output.Inotherwords,theusershouldbeableto
drawsomething.Inmostcases,theuserwillwanttodrawsomesortofplotconsisting
of axes, labels and data symbols or lines to represent the data. Figure . shows an
example consisting of a basic scatterplot.
his is one distinction between statistical graphics sotware and a more general
graphics language such as PostScript. he user does not just want to be able to draw
Search WWH ::




Custom Search