Would LOVE to get some help with the "matplot" function. > Plot the columns of one matrix against the columns of another. > matplot(x, y) > x,y: vectors or matrices of data for plotting. The number of rows > should match. If one of them are missing, the other is taken > as 'y' and an 'x' vector of '1:n' is used. Missing values > ('NA's) are allowed.
Here's something that works: r.matplot([1,2,3], [4,5,6]) This plots (1,3), (2,4), (3,5). What I want is to plot a second dataset against (1,2,3). These things don't work: r.matplot([1,2,3], [[4,5,6],[7,8,9]]) 'x' and 'y' must have same number of rows r.matplot([1,2,3], [[4,7],[5,8],[6,9]]) rpy.RException: Error in as.double.default(y) : (list) object cannot be coerced to 'double' r.matplot([[1],[2],[3]], [[4,7],[5,8],[6,9]]) rpy.RException: Error in as.double.default(y) : (list) object cannot be coerced to 'double' I'm just not sure how to make a matrix in python that goes properly into R ... any help appreciated! JDO ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list