nicholasehamilton / ggtern

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

Plotting points at the ternary diagram border #29

Closed mcomas closed 8 years ago

mcomas commented 8 years ago

Is it possible to completely plot a point close to the border? When I try

ggtern() + geom_point(aes(x = 1, y = 0, z = 0), size=10)

the point appears partially. I've tried to modifiy option tern.discard.external to FALSE but the point is still partially plotted.

fojxl commented 8 years ago

Add geom_mask()...

ggtern() + geom_mask() + geom_point(aes(x = 1, y = 0, z = 0), size=10)

mcomas commented 8 years ago

It works perfectly, thank you!!!