Skip to content
Prev 57 / 523 Next

[RsR] Traditional vs. lattice graphics

On Fri, 30 Dec 2005, Valentin Todorov wrote:

            
Let me say two things about this:
  1. base vs. lattice graphics is not the only choice. You can also write
     graphics using grid directly and not via the lattice package. This
     is particularly useful if you want to create plots that do not fit
     directly in the lattice framework. We have done this for the vcd
     package which contains some vignettes describing the ideas that went
     into the creation of the package.
  2. My experience from writing vcd is that - as long as you don't do very
     sophisticated graphics that reach very deep into the base graphics or
     grid routines - it is not very much work to write a core computation
     engine and then render the plot either in base or grid. For example,
     I've written spineplot() first in base graphics and then easily
     transferred it to a grid implementation in spine() in vcd.
Just my EUR 0.02 and my experience...
Z