-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using expression() for labels #374
Comments
Not tested in all cases (e.g., what would happen with select?). Should also see other plotting functions for this option, most importantly with envfit().
should now implement allowing expression in labels per wish of github issue #374
Implementing this wish was a bit more complicated than I anticipated. However, now it seems to be done. This is now in a dedicated branch https://github.com/vegandevs/vegan/tree/expression-labels which is not yet merged. I'll try the new code with different scenarios, and if everything looks OK, I'll merge it ASAP. |
That's good to hear. I think it always looks better when labels are not restricted to plain text; Thank you very much, I'm looking forward to the release 👍 |
Redesigned use of labels in text.cca. This involved adding new function labels.cca. Now it is possible to use expression() as a label per wish of github issue #374.
Not tested in all cases (e.g., what would happen with select?). Should also see other plotting functions for this option, most importantly with envfit(). (cherry picked from commit 5cb1aa6)
Could you make it possible to successfully pass a vector including expression() to the "label = "-option when adding text(), e.g. to a RDA or db-RDA plot?
When I have a db-RDA with minimum temperature as an explaining variable, it would be great to label the respective arrow with "T" and a small "min", which seems to be currently not possible from within the text() call that produces the arrows and labels.
The text was updated successfully, but these errors were encountered: