I am trying to generate a ternary graph with types of soils made up of different combinations of Arcilla
, Arena
and MO
. In turn, I calculate the growth of the plants in the types of conformed soils. Values range from 0 to 100% in Arcilla
and Arena
, while for MO
is from 0 to 10%. The problem is that using coord_tern
and / or tern_limits
I can not shorten the eje R (MO)
so that the points are distributed throughout the graph and not only concentrate on one end since the scales default
for the axes are from 0 to 100.
If I was not clear in the query, please let me know.
ggtern(data = Libro1,mapping = aes(x= Arcilla, y= Arena, z= MO)) +
coord_tern(Tlim = ("0,100"), Llim = ("0,100"), Rlim = ("0,10")) +
tern_limit(T = 1, L = 1, R= 0.1) + stat_density_tern(geom='polygon',
aes(fill=..level..), bins=5, color='grey') + geom_point()