Closed klcym closed 6 months ago
Hi! For the images, within the options for the Draw image
module, you need to set the Anchor
to Origin
, and then use the same X
value for the position of all images.
For the highlights, I'm afraid there is no easy way to do this at the moment; you would have to manually adjust the Right
margin of each highlight. I'll figure something out for the next update!
Another alternative would be to use a custom script to draw the highlights - I can give you some example code to get started, if you're interested.
Thanks for your reply. I will try to use the custom script.😊
OK, here is an example that produces the following tree:
And here is the tree file: customHighlights.zip
Essentially, the highlight colour is stored as an attribute on the LCA of each highlighted group; the script searches for nodes with this attribute and draws a rectangle around them.
Here is the source code (you can also access it from the tree file, by opening the options of the Custom script
module.
Let me know if you have any questions!
Wow, that's great!
Dear Giorgio :
I want to align the highlight bins and the images and I dont want to change the tree into the cladogram style. What can I do?
Thanks for your help.