Open GeoMicroSoares opened 6 years ago
Hi,
thanks for your comment.
The theme(legend.text(element_text(size = 20)
works fine for me (see updated example in the README).
To have more than one factor in the data.frame produced by transform_piper_data()
you have to merge this with the 'untransformed' data frame, like I did in the example. It's an ugly workaround but I don't have time at the moment to find a nicer solution. Probably it's as easy as to include this merge in the transform_piper_data()
function or add another argument which accepts a list of meta parameters?
Also, I only recently found the ggtern package to produce ternary plots with ggplot. Maybe its worth, to have a look at that, too? This package seems to produce nice ternary plots (but is probably not able to produce the projection in the diamond?!)
Best regards, Marko
Hello there,
Thanks for this, first off all, and to Jason for the first attempt at it!
I've successfully managed to run my data with the script, but can't seem to be able to modify simple stuff like legend text size. Not with
guides(color = guide_legend(size = 9))
or withtheme(legend.text(element_text(size = 9)
. Any ideas?Also, I am now wondering if a variable other than just your 'WaterType' example can be included in the plot, to map colour to one and shape to the other? This could be very useful for other users as well I guess.
All the best!