splitstree6
splitstree6 copied to clipboard
change colors of traits pie charts
Hi all,
I was wondering if there is a way to change the default colors of the taxon traits pie charts, I haven't seen any options to do that
Thanks! Kevin
Dear Kevin,
do you want control over individual color assignments or would it suffice to choose between different color schemes? Neither is currently available in the UI, but would be reasonably easy to add
Thanks daniel
On Aug 18, 2024, at 04:59, Kevin I. Sánchez @.***> wrote:
Hi all,
I was wondering if there is a way to change the default colors of the taxon traits pie charts, I haven't seen any options to do that
Thanks! Kevin
— Reply to this email directly, view it on GitHub https://github.com/husonlab/splitstree6/issues/30, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTNU4U63ET4MKZUVVVG3RTZSCECXAVCNFSM6AAAAABMWJPR32VHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ3TCOJTGMZTMOI. You are receiving this because you are subscribed to this thread.
Dear @husonlab,
how to add traits for pie plot?
Best, Liam
To define traits, after specifying the taxa block, you need to specify a traits block, using this syntax:
BEGIN TRAITS; [TITLE {title};] DIMENSIONS [NTAX=number-of-taxa] NTRAITS=number-of-traits; [FORMAT [LABELS={YES|NO}] [MISSING=symbol] [SEPARATOR={COMMA|SEMICOLON|WHITESPACE}] ;] [TRAITLATITUDE latitude-trait-1 latitude-trait-2 ... latitude-trait-n; TRAITLONGITUDE longitude-trait-1 longitude-trait-2 ... longitude-trait-n;] TRAITLABELS label-trait-1 label-trait-2 ... label-trait-n; MATRIX trait data in specified format ; END;
There is an example in the Examples directory. I will also add an annotated example to the documentation.
Dear Kevin, do you want control over individual color assignments or would it suffice to choose between different color schemes? Neither is currently available in the UI, but would be reasonably easy to add Thanks daniel … On Aug 18, 2024, at 04:59, Kevin I. Sánchez @.***> wrote: Hi all, I was wondering if there is a way to change the default colors of the taxon traits pie charts, I haven't seen any options to do that Thanks! Kevin — Reply to this email directly, view it on GitHub <#30>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTNU4U63ET4MKZUVVVG3RTZSCECXAVCNFSM6AAAAABMWJPR32VHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ3TCOJTGMZTMOI. You are receiving this because you are subscribed to this thread.
Dear Daniel, thanks for your answer. I would prefer to have control over individual color assignments. This would be useful if I want to match color schemes that I used for other plots, e.g. structure barplots
Kevin
That’s now implemented I have added colors to the traits blockYou can also set them by clicking on the legend Sent from Daniel Huson's phoneOn 11 Sep 2024, at 17:22, Kevin I. Sánchez @.***> wrote:
Dear Kevin, do you want control over individual color assignments or would it suffice to choose between different color schemes? Neither is currently available in the UI, but would be reasonably easy to add Thanks daniel … On Aug 18, 2024, at 04:59, Kevin I. Sánchez @.***> wrote: Hi all, I was wondering if there is a way to change the default colors of the taxon traits pie charts, I haven't seen any options to do that Thanks! Kevin — Reply to this email directly, view it on GitHub <#30>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABTNU4U63ET4MKZUVVVG3RTZSCECXAVCNFSM6AAAAABMWJPR32VHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ3TCOJTGMZTMOI. You are receiving this because you are subscribed to this thread.
Dear Daniel, thanks for your answer. I would prefer to have control over individual color assignments. This would be useful if I want to match color schemes that I used for other plots, e.g. structure barplots Kevin
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>