Hi Gavin,
I'm plotting some simple penalties with gratia::draw and they come out pretty icky because of geom_raster (i.e., what looks like anti-aliasing per cell but that blurs the whole matrix, at least with PDF output). I guess geom_tile will plot the cells crisply, but is slow for larger penalty matrices.
Would it be possible to supply a geom= option or somesuch for draw to allow the user to specify this? Also perhaps it's worth doing something where for matrices below a certain dimension it uses tile, but raster beyond that?
I can submit a patch if you think it's worth doing, I just wanted to check there wasn't some other reason before I do so.
cheers,
--dave
PS. yes, I am avoiding writing a talk.
Hi Gavin,
I'm plotting some simple penalties with
gratia::drawand they come out pretty icky because ofgeom_raster(i.e., what looks like anti-aliasing per cell but that blurs the whole matrix, at least with PDF output). I guessgeom_tilewill plot the cells crisply, but is slow for larger penalty matrices.Would it be possible to supply a
geom=option or somesuch fordrawto allow the user to specify this? Also perhaps it's worth doing something where for matrices below a certain dimension it uses tile, but raster beyond that?I can submit a patch if you think it's worth doing, I just wanted to check there wasn't some other reason before I do so.
cheers,
--dave
PS. yes, I am avoiding writing a talk.