plotBranchbyTrait
. The only way to add the color bar at present is by clicking on the desired location within your plot. It is also used internally by contMap(...,type="fan")
and densityMap(...,type="fan")
.add.color.bar(leg, cols, title=NULL, lims=c(0,1), digits=1, prompt=TRUE, ...)
x
x-coordinate of the legend (if prompt=FALSE
); y
y-coordinate of the legend; subtitle
optional legend subtitle.contMap
, densityMap
, plotBranchbyTrait