help sqparcoord                                                 (SJ6-4: st0111)


sqparcoord -- Parallel-coordinates plot for sequence data


sqparcoord [if] [in] [, options]

options Description ------------------------------------------------------------------------- ranks(numlist) restrict tabulation on most frequent numlist so apply same order similarity offset(#) add random noise to vertical position of sequence lines wlines(#) highlight sequence lines according to frequency gapinclude include sequences with gaps in the tabulation subsequence(a,b) use only subsequence between positions a and b twoway_options options allowed for graph twoway -------------------------------------------------------------------------


sqparcoord draws sequences as a parallel-coordinates plot, with some trickery added.


ranks(numlist) is used to restrict the output to the most frequent sequences. numlist refers to the position of the sequences in the sorted frequency table. Hence, ranks(1) refers to the most frequent sequence, whereas ranks(1/10) refers to the 10 most frequent sequences. You can also specify ranks(2(2)20).

so is used to request a plot where only the order of elements is shown (same-order similarity). With this option the sequences A-B-B-A and A-B-A-A would both be drawn as if they were A-B-A. Option se, which is available for many other SQ-Ados, is not applicable here.

offset(#) adds random noise to the vertical position of sequence lines.

wlines(#) is used draw more frequent sequences thicker than le,ss frequent ones. Within the parentheses a number is used to specify the factor by which the thickness is increased. The number given is multiplied with the relative frequency of the sequences and passed as relativesize to the option lwidth() of graph twoway line (also see linewidthstyle).

gapinclude is used to include sequences with gaps. The default behavior is to drop sequences with gaps from the graph. The gaps will be not visible in the parallel-coordinates plot. The term gap refers only to missing values on the element variable within a sequence. Sequences with missing values at the beginning and at the end of a sequence are included in any case. You might consider using sqset with option trim to get rid of superfluous missings (see sq for details.)

subsequence(a,b) is used to include only the part of the sequence that is between position a and b, whereby a and b refer to the position defined in the order variable.

twoway_options are a set of common options supported by all twoway commands; see twoway_options.


Ulrich Kohler, WZB,


. sqparcoord, wline(3)

. sqparcoord, ranks(1/10) offset(.2)

Also see

Manual: [G] graph, [G] graph twoway rbar, [G] barlook options

Online: parcoord (if installed), sq, sqdemo, sqset, sqdes, sqegen, sqstat, sqindexplot, sqparcoord, sqom, sqclusterdat, sqclustermat