X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fstatistics.texi;h=3877a8d43d93db8ddd35a49aa287121ac907bd86;hb=6e80abcaeb7c361477eff4b8a578e54f1def81c4;hp=a9adb2afc6462a1c272bc33352ebff9b6f43999e;hpb=6d82ab433f298bcf1f0e6615c801d47b9738701a;p=pspp diff --git a/doc/statistics.texi b/doc/statistics.texi index a9adb2afc6..3877a8d43d 100644 --- a/doc/statistics.texi +++ b/doc/statistics.texi @@ -423,11 +423,20 @@ The @cmd{GRAPH} produces graphical plots of data. Only one of the subcommands @subcmd{HISTOGRAM} or @subcmd{SCATTERPLOT} can be specified, i.e. only one plot can be produced per call of @cmd{GRAPH}. The @subcmd{MISSING} is optional. +@menu +* SCATTERPLOT:: Cartesian Plots +* HISTOGRAM:: Histograms +* BAR CHART:: Bar Charts +@end menu + +@node SCATTERPLOT +@subsection Scatterplot @cindex scatterplot -The subcommand @subcmd{SCATTERPLOT} produces an xy plot of the data. The different -values of the optional third variable @var{var3} will result in different colours and/or -markers for the plot. The following is an example for producing a scatterplot. +The subcommand @subcmd{SCATTERPLOT} produces an xy plot of the +data. The different values of the optional third variable @var{var3} +will result in different colours and/or markers for the plot. The +following is an example for producing a scatterplot. @example GRAPH @@ -438,6 +447,8 @@ This example will produce a scatterplot where @var{height} is plotted versus @va on the value of the @var{gender} variable, the colour of the datapoint is different. With this plot it is possible to analyze gender differences for @var{height} vs.@: @var{weight} relation. +@node HISTOGRAM +@subsection Histogram @cindex histogram The subcommand @subcmd{HISTOGRAM} produces a histogram. Only one variable is allowed for @@ -452,7 +463,10 @@ GRAPH /HISTOGRAM = @var{weight}. @end example +@node BAR CHART +@subsection Bar Chart @cindex bar chart + The subcommand @subcmd{BAR} produces a bar chart. This subcommand requires that a @var{count-function} be specified (with no arguments) or a @var{summary-function} with a variable @var{var1} in parentheses. Following the summary or count function, the keyword @subcmd{BY} should be specified and then a catagorical variable, @var{var2}.