If you call r.plot() and then r.grid(), the grid is drawn over the
plot rather than behind it.  The R manual says I can do this:

plot(x,y,panel.first=grid())

How do I do this in Rpy?  If I use:

    r.plot(x,y,panel_first=grid())

I get:

    NameError: global name 'grid' is not defined

If I instead use:

    r.plot(x,y,panel_first=r.grid())

then I get:

    plot.new has not been called yet

because it is called grid() before plot().  The purpose of panel.first
in R is to get the grid() to call after the grid is initialized but
before the other points or lines are drawn.

Any help is appreciated...

-- 
Daniel Zappala

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to