Re: [R] help simplifying complex graphic arguments to a function

2009-08-19 Thread Paul Murrell
Hi The "standard" approach of having graphics parameter arguments separate from the data arguments is a little bit creaky. The relationship between the nth data value and the nth graphics parameter only really exists in your head. It would feel much safer if you could specify the graphics p

Re: [R] help simplifying complex graphic arguments to a function

2009-08-18 Thread baptiste auguie
I'm facing a similar challenge with a grid.table function (see example below). I envisaged two routes, 1- rather than assigning a list of properties for each cell, I would define a matrix for each property. For instance, the default could be, fill = matrix("grey90", nrow(values), ncol(values)) #