plotBranchbyTrait. A color bar can be added by clicking on a location within the plot (when prompt=TRUE) or by setting prompt=FALSE and supplying x & y coordinates for the object. This function is also used internally by plot.contMap and plot.densityMap.add.color.bar(leg, cols, title=NULL, lims=c(0,1), digits=1, prompt=TRUE,
lwd=4, outline=TRUE, ...)x x-coordinate of the legend (if prompt=FALSE); y y-coordinate of the legend; subtitle optional legend subtitle.contMap, densityMap, plotBranchbyTrait