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, it's like a scatter plot, but have several additional things.
One thing are the grids inside the graph, and the other is a density bar
used as a reference to evaluate the frequency of the points.

The command that I've always used in R for scatter plots is.

 > plot(l1, l2)

I need to know if there is something similar in a library of R, or if I
could implement it on my own.

Hi Ignacio,
Have a look at the color2D.matplot in the plotrix package with do.hex=TRUE.

Jim

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to