Skip to content

ggtern and ggrepel #56

Description

@AQueff

Dear Nicholas,
first of alll, thank you very much for this excellent package which I use often for sedimentological analysis.

I would like to know if there is a way to use ggrepl and ggtern together, since most of the time I have several points close to each other and therefore all the labels overlap.
But currently when I run this line:
diag_tern = ggplot(data=Table_diag_tern, aes(Sables,Argiles,Limons)) + geom_point(aes(color=Echantillons)) + geom_text_repel(size=3, hjust = 0.5, vjust=-0.5 , aes(label=Echantillons))

I have an error message telling me that:
"Removing Layer 1 ('GeomTextRepel'), as it is not an approved geometry (for ternary plots) under the present ggtern package."

Is there a way? Would be very much appreciated! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions