Re: [Rpy] specify xlim for hist()

2010-11-03 Thread Denham Robert
, ie zoom in on a section p = lattice.histogram(V1,breaks=50,xlim=robjects.IntVector([200,7200])) rprint(p) From: Matthew MacManes [mailto:macma...@gmail.com] Sent: Thursday, 4 November 2010 2:37 AM To: rpy-list@lists.sourceforg

[Rpy] specify xlim for hist()

2010-11-03 Thread Matthew MacManes
Hi All, Can anybody tell me how I can set xlim for a histogram, the catch is that the xlim I want does not cover the entire range of x values... The snippet of R code I am trying to recreate in rpy2: hist(V1,breaks=100, xlim=c(200,7200)) With rpy2, I can do something like: graphics.hist(d, r_bas