Learn R Programming

ggtern (version 1.0.5.0)

coord_tern.limit_tern: Restrict Ternary Limits

Description

tern_limits (or its aliasses) appends new T, L and R ternary continuous scales, where the maximum scale value is specified, and, where the minimums for each are solved.

limits_tern is an alias for tern_limits

limit_tern is an alias for tern_limits

tern_limit is an alias for tern_limits

Usage

tern_limits(T = 1, L = 1, R = 1, ..., verbose = F)

limits_tern(...)

limit_tern(...)

tern_limit(...)

Arguments

T
numeric value of the maximum T species scale value
L
numeric value of the maximum L species scale value
R
numeric value of the maximum R species scale value
...
other arguments to pass to ALL of scale_X_continuous, where X = T, L, R
verbose
report the solved values

See Also

scale_T_continuous, scale_L_continuous and scale_R_continuous

Examples

Run this code
plot <- ggtern(data=data.frame(x=runif(100),
                               y=runif(100),
                               z=runif(100)), aes(x,y,z)) +
        geom_point() +
        tern_limits(0.7,0.3,0.4)
plot

Run the code above in your browser using DataLab