[R] Ternaryplot as an inset graph

2012-04-20 Thread Young, Jennifer A
Hello I am trying to add a ternary plot as a corner inset graph to a larger main ternary plot. I have successfully used add.scatter in the past for different kinds of plots but It doesn't seem to work for this particular function. It overlays the old plot rather than plotting as an inset. Here

Re: [R] Ternaryplot as an inset graph

2012-04-20 Thread Ben Bolker
Young, Jennifer A Jennifer.Young at dfo-mpo.gc.ca writes: I am trying to add a ternary plot as a corner inset graph to a larger main ternary plot. I have successfully used add.scatter in the past for different kinds of plots but It doesn't seem to work for this particular function. It

Re: [R] Ternaryplot as an inset graph

2012-04-20 Thread Greg Snow
The triplot function in the TeachingDemos package uses base graphics, the subplot function (also in TeachingDemos) is another way to place a plot within a plot (and triplot and subplot do work together). If you want to stick to grid graphics then you can use viewports in grid to insert one plot