select_legend
graphical user interface for setting legend
Contents
Syntax
legend = select_legend (legend, k)
Description
Select or edit a legend; the active item is indicated and can be changed with button #. Edit maker specs with button marker and taxon name with button taxon. Edit the sequence with buttons v and ^, insert with >, remove with x. The sequence matters if taxa are not mutually exclusive and some markers will be plotted on top of each other. If second input is true, the setting of colors is ommitted; shstat then sets colors according to a third variable
Input:
- legend: optional (n,2)-matrix with markers (5-vector of cells) and taxa (string)
- k: boolean for ommiting color setting (default false)
Output:
- legend: (m,2)-matrix with markers (5-vector of cells) and taxa (string)
Remarks
Press any key when done. Calls select_marker to edit markers.
Example of use
legend = select_legend;