[R] How to draw figures in a graph?

Greg Snow 538280 at gmail.com
Tue Oct 22 21:49:30 CEST 2013

You will want to be very careful in adding things to a plot that are
not conveying information.  One term for these things is "chartjunk"
which should give you a feel for the general opinion about doing this.

If you still feel the need to add to a graph (and promise to think
hard about it and be careful in the implementation that the added
figures do not distort the data) then you can start by looking at the
rasterImage function (and grid.raster for grid based graphics).  The
grImport package could also be useful if your images are in a vector
format, see the import vignette from that package.  Possibly also the
my.symbols function in the TeachingDemos package.

On Tue, Oct 22, 2013 at 9:08 AM, halim10-fes <halim10-fes at sust.edu> wrote:
> Hi All,
> Hope you guys are doing well. I am thinking of drawing some figures within a
> graph to make it more interesting. To make a graph more storytelling, like the
> attached one.
> I am looking for a couple of days but couldn't come up with any solution on how
> to do it with R. Any ideas will be greatly appreciated.
> Thanks,
> ---------------
> Md. Abdul Halim
> Assistant Professor
> Department of Forestry and Environmental Science
> Shahjalal University of Science and Technology,Sylhet-3114,
> Bangladesh.
> Cell: +8801714078386.
> alt. e-mail: xou03 at yahoo.com
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> ______________________________________________
> 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.

Gregory (Greg) L. Snow Ph.D.
538280 at gmail.com

More information about the R-help mailing list