nicholasehamilton / ggtern

Extension to ggplot2 for plotting ternary diagrams
www.ggtern.com
55 stars 14 forks source link

ggtern and ggrepel #56

Open AQueff opened 8 months ago

AQueff commented 8 months ago

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! :)