graphics - Changing margins of R vcd ternaryplot() -
i'm using ternaryplot() in r's vcd package make ternary plot. i'm trying rid of margins , make plot fill of plotting area.
using par() before ternaryplot() call doesn't work. documentation states this:
**usage** ternaryplot(x, scale = 1, dimnames = null, dimnames_position = c("corner","edge","none"), dimnames_color = "black", id = null, id_color = "black", id_just = c("center", "center"), coordinates = false, grid = true, grid_color = "gray", labels = c("inside", "outside", "none"), labels_color = "darkgray", border = "black", bg = "white", pch = 19, cex = 1, prop_size = false, col = "red", main = "ternary plot", newpage = true, pop = true, return_grob = false, ...) **arguments** ... additional graphics parameters (see par) so there option add "additional graphics parameters" controlled par(), can't figure out how it. example, if use oma = c(0,0,0,0) this:
error in grid.polygon(c(0, 0.5, 1), c(0, top, 0), gp = gpar(fill = bg, : unused argument (oma = c(0, 0, 0, 0))
Comments
Post a Comment