需要 NUMINDS is the number of individuals and PRINT INDIVS is set to 1,即根据 Individual的情况画图。Column 2 gives a code number for the individual . Column 4 gives the code number for the population to which the individual belongs. Columns 1, 3, and 5 are ignored. Columns 6 to K + 5 show membership coefficients for clusters 1, 2, ..., K。会根据输入文件中个体的顺序画图,并根据种群分组。需设置 PRINT LABEL BELOW to 1 及 INFILE LABEL BELOW 文件(第一列为population code,第二列为种群名称),默认打印种群id作为label. 种群顺序跟 INFILE LABEL BELOW 文件保持一致。 与上条目一致 设置图形中的颜色选用,颜色很多。 INFILE CLUST PERM 指定k个颜色,无指定则默认使用颜色表顺序颜色。 GRAYSCALE 设置为1 使用灰度颜色(黑白)。程序与需要使用的文件在同一个目录。 drawparams 里的参数以 #define 开头,#应该不是注释作用。 // 后的内容是注释内容,对参数的顺序不敏感 INFILE POPQ : 种群矩阵 INFILE INDIVQ :个体矩阵 INFILE LABEL ATOP :图上边的lable INFILE LABEL BELOW :图下边的label INFILE CLUST PERM :图形颜色 PRINT INDIVS : 1 plot 个体。0 plot 群体 PRINT SEP : 不同种群间有黑色线条 BOXHEIGHT :单个个体图形中的高度 ORIENTATION :设置图形方向 PRINT INFILE NAME :print INFILE POPQ 文件到图形 看完手册 还是不清楚怎么在图形上显示个体名称或许需要对数据进行排序。 (1)define PRINT_INDIVS