Re: [R] setting 'layout' locally within functions

2011-06-22 Thread Paul Murrell
Hi On 23/06/2011 2:58 a.m., Simon Goodman wrote: Using layout I've created a function that makes a 2 panel plot - comprising a main plot, and a sub-panel with custom legend. I would now like to use layout to create multiple panels with plots created by my function, however the values for layout

[R] setting 'layout' locally within functions

2011-06-22 Thread Simon Goodman
Using layout I've created a function that makes a 2 panel plot - comprising a main plot, and a sub-panel with custom legend. I would now like to use layout to create multiple panels with plots created by my function, however the values for layout set in the function act globally, stopping me from