Any ideas how to do "scruffy" bar and scatter plots (like yuml) in R?
+3
A:
If you have in mind the exact replicate of the sample graph on the link that you have provided... well, let's say that you have very slim chances of success...
But I recall an article in The R Journal Vol. 1/1, May 2009
, written by THE Paul Murrell - Drawing Diagrams with R. Murrell suggests two packages: shape
and diagram
.
I haven't done any diagram in R so far - I prefer Dia
application available on Linux platforms (and there are ports for MacOS and Windows). Murrell's article is concentrated on low-level graphing capabilities, so it's very flexible, but on the other hand a bit labour-intensive... I'm sure that learning effort pays off in the end, but I usually need something quick, so I use Dia
.
aL3xa
2010-05-16 17:12:21
I don't want to replicate UML-diagrams in R, what I like to replicate is the way the boxes are layed out there -- they look as if they were drawn by hand.
Karsten W.
2010-05-16 18:38:36
Maybe they were drawn by hand...
Marek
2010-05-16 21:13:16
There is the new support in R 2.11.0 for raster images, it might be of use here: http://developer.r-project.org/Raster/raster-RFC.html
Tal Galili
2010-05-17 04:08:21
As I said... no luck there! Maybe you can export graph as SVG, hence edit it in Inkscape, Corel, or so... Or you can write a script to submit form based on R data? Hmm... not bad idea... if you know how to do it with `RCurl`, you're kicking!
aL3xa
2010-05-17 05:53:34
I think I will try the SVG and postprocess route when I have some time.. Thanks for the input!
Karsten W.
2010-05-17 07:28:34