Perhaps gplot from sna package?
library(gplot)
gplot(rgraph(5), vertex.sides = 4, vertex.cex = 1:5, vertex.col = 1:5)
On Wed, Jun 18, 2008 at 9:53 AM, Michael Schulte <michael.schulte at
uib.no> wrote:> Dear all,
>
> I am looking for a method to draw multiple rectangles in different colors
> plus arrows between them (given a data matrix with the relevant coordinate
> and size information).
>
> After looking around mainly on:
> http://cran.r-project.org/web/views/Graphics.html
> and the Rseek page
> the Grid package seems one possible way to go.
>
> Are there better suited packages for such graphs?
>
> Thanks for a pointer
> Best
> Michael
>
> ______________________________________________
> R-help at 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.
>