figtree
figtree copied to clipboard
scaling trees different then to fit canvas
It would be nice if there was a way to draw two trees making sure that they are scaled the same according to their branch lengths?
Currently the trees are scaled such that they fit the canvas and, thus, it is not possible to ensure the two trees are having the same scale and label/font sizes, but differ only according to their branch lengths.
For instance, there are two ‘reconstructed’ trees:
((A:0.1,B:0.1):0.1,(C:0.1,D:0.1):0.1); ((A:0.2,B:0.2):0.2,(C:0.2,D:0.2):0.2);
They mainly differ by the scale of the branch lengths (twice as long in the second). I would like to produce two pictures, where the scaling is the same, i.e. the branches of the second tree are half the length of the first, while the scale-bar and font sizes are the same.
Possible ways to provide this would be:
- setting the length of the scale bar to a certain physical length
- allowing to set the length or end of a drawn scale axis (not just the origin) and fit this to the canvas
- set an independent scale factor for drawing the branch lengths
just my tuppence worth - may be it helps ;)
Cheers, Heiko