multiwayplot
Mutli-panel dotplot - useful for grouped data. Constructs a multiway dotchart, where each panel corresponds
to a group.
Input Arguments:
- X is a matrix with N rows and G columns (number of groups).
- SUBTITLE is a cell array of titles, one for each panel.
- LABY is a cell array of N strings.
- LABX is a string for the single xlabel..
- SUBLOCS is an optional argument specifying the position of the panels. It is a cell array containing the layout
of the plots. The first element of the array is a two-element vector containing the number of rows and the number
of columns. The second element of the cell array contains the order of the groups, counting left to right and top
to bottom.
Output Arguments:
None
Synopsis
MULTIWAYPLOT(X,LABY,LABX,SUBTITLE,SUBLOCS)
For example:
sublocs{1} = [2,2];
sublocs{2} = [1, 3, 4, 2];
would construct a 2 by 2 matrix of dotcharts, with group 1 in the upper left corner, group 3 in the upper right
corner, group 4 in the lower left and group 2 in the lower right.
References:
Cleveland, W. S. 1993. Visualizing Data, New York: Hobart Press.
EDA Toolbox: Contents