Documentation add subsections for each GRAPH type
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 12 Dec 2015 14:26:31 +0000 (15:26 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 12 Dec 2015 14:26:31 +0000 (15:26 +0100)
doc/statistics.texi
src/ui/gui/barchart.ui
src/ui/gui/histogram.ui
src/ui/gui/scatterplot.ui

index a9adb2afc6462a1c272bc33352ebff9b6f43999e..3877a8d43d93db8ddd35a49aa287121ac907bd86 100644 (file)
@@ -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}.
index 40131a29fd9f87702e1b9f8cbb868bd08edefcdb..a4a255918d44d153c59806b89cf39a60eefa6ec5 100644 (file)
@@ -7,7 +7,7 @@
     <property name="can_focus">False</property>
     <property name="title" translatable="yes">Barchart</property>
     <property name="modal">True</property>
-    <property name="help_page">GRAPH</property>
+    <property name="help_page">GRAPH#BAR-CHART</property>
     <child>
       <object class="GtkBox" id="dialog-hbox1">
         <property name="visible">True</property>
index cc63b3cb74345d8f739e882e74281c60d7a19ac8..b2f5682a69bedfdee5337a41d2071c25035b4579 100644 (file)
@@ -7,7 +7,7 @@
     <property name="can_focus">False</property>
     <property name="title" translatable="yes">Histogram</property>
     <property name="modal">True</property>
-    <property name="help_page">GRAPH</property>
+    <property name="help_page">GRAPH#HISTOGRAM</property>
     <child>
       <object class="GtkBox" id="dialog-hbox1">
         <property name="visible">True</property>
index 4326b9dd774fc264727c6ea68b3b2a9595c3f21c..c0dae67c550b246d6cf4c230906e17c4692014dd 100644 (file)
@@ -8,7 +8,7 @@
     <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
     <property name="title" translatable="yes">Scatterplot</property>
     <property name="modal">True</property>
-    <property name="help_page">GRAPH</property>
+    <property name="help_page">GRAPH#SCATTERPLOT</property>
     <child>
       <object class="GtkBox" id="dialog-hbox15">
         <property name="visible">True</property>