powered by
Add grid lines to a ternary plot with triplot()
triplot()
trigrid( n = 1, col = "white", lty = 1, lwd = 1, outer_col = "black", outer_lwd = 2, ... )
Number of grid lines
Color of grid lines
Line type for grid lines
Line width of grid lines
Color of outer triangle (If NULL, not plotted)
Line width of outer triangle
Additional arguments passed to trilines()
trilines()
triplot(), trilines()
triplot(c("A","H","B"), gridlines=1, grid_lwd=2) trigrid(3, lty=2, lwd=2)
Run the code above in your browser using DataLab