Table: Line graph where...

Draws a line graph from the data in a column of the selected Table. In a line plot the horizontal axis can have a nominal scale or a numeric scale. The data point are connected by line segments.

Settings

Vertical column
The column whose data points you want to plot.
Vertical range
determine the lower and upper limits of the plot.
Horizontal column
determines the horizontal scale. If you leave it empty, or, if the (selected part of the) selected column contains nominal values, i.e. the values are not numeric but text, the horizontal distance between the data points will be constant (i.e. 1) and the nominal values (texts) will be put as labels at the bottom of the horizontal axis. On the other hand, if this column contains only numerical values, the horizontal position of the data points will be determined by the values in this column.
Horizontal range
determines the left and right limit of the plot.
Text
The text to put at the position of the data point in the plot.
Label text angle (degrees)
determines the angle of the labels written below the plot. If you have very long label texts in the "Horizontal column", you can prevent the label texts from overlapping. This only has effect for a horizontal column with nominal values.
Formula
can be used to supply an expression to select only those rows for plotting where the expression evaluates to true. A 1 value always evaluates to true.

Examples

The following table was estimated from fig. 3 in Ganong (1980) and represents the fraction /d/ responses as a function of a voice onset time (VOT) continuum. The second column shows the responses in a word - nonword continuum, while the third column shows the responses to a nonword - word continuum.

VOT dash-tash dask-task
-17.5 0.98 0.92
 -7.5 0.95 0.83
 -2.5 0.71 0.33
  2.5 0.29 0.10
  7.5 0.12 0.02
 17.5 0.10 0.02

We can reproduce fig. 3 from Ganong (1980) with the following script, where we labeled the word - nonword curve with "wn" and the nonword - word curve with "nw". We deselect "Garnish" because we want to put special marks at the bottom.

Dotted line
Line graph where: "dash-tash", 0, 1, "VOT", -20, 20, "wn", 0, 0, "1"
Dashed line
Line graph where: "dask-task", 0, 1, "VOT", -20, 20, "nw", 0, 0, "1"
Draw inner box
One mark bottom: 2.5, 0, 1, 0, "+2.5"
One mark bottom: -2.5, 1, 1, 0, ""
One mark bottom: -7.5,1, 1, 0, ""
One mark bottom: 7.5, 0, 1, 0, "+7.5"
One mark bottom: 2.5, 0, 0, 0, "+2.5"
One mark bottom: -20, 0, 0, 0, "Short VOT"
One mark bottom: 20, 0, 0, 0, "Long VOT"
Text bottom: 1, "VOT (ms)"
Marks left every: 1, 0.2, 1, 1, 0
Text left: 1, "Prop. of voiced responses"

As an example of what happens if you don't supply an argument for the "Horizontal column" we will use the same table as for the previous plot. However the resulting plot may not be as meaningful (note that the horizontal nominal scale makes all points equidistant in the horizontal direction.)

Dotted line")
Line graph where: "dash-tash", 0, 1, "", 0, 0, "wn", 0, 1, ~ 1
One mark bottom: 1, 0, 1, 0, "Short VOT"


© djmw, August 29, 2017