Re: [R] Question about Density Plot

2010-10-18 Thread Jim Lemon
On 10/18/2010 11:34 PM, Ignacio Ibarra Del Río wrote: Hi I've attached an example about something I want to do in R. This example was done in a Fortran application called ASGL. Here's an example in matplotlib http://matplotlib.sourceforge.net/examples/pylab_examples/hexbin_demo.html Basically,

Re: [R] Question about Density Plot

2010-10-18 Thread Claudia Beleites
Dear Ignacio, if you want it hexagonal (as I gather from the "hexbin_demo", have a look at the hexbin package. Otherwise, lattice's levelplot is your friend. Or, if you prefer ggplot: geom_tile or geom_hex. UIf you play a bit with findFn from package sos, e.g. findFn ("plot 2d density") find