Tal Galili
2009-Oct-14 18:13 UTC
[R] Scatter plot using icons (from a gif) instaed of points - is it possible ?
Hello dear R-help group. I wish to plot a scatter plot using icons (or images) instead of points. Is it possible? and how so? Thanks, Tal ---------------------------------------------- My contact information: Tal Galili E-mail: Tal.Galili@gmail.com Phone number: 972-52-7275845 FaceBook: Tal Galili My Blogs: http://www.talgalili.com (Web and general, Hebrew) http://www.biostatistics.co.il (Statistics, Hebrew) http://www.r-statistics.com/ (Statistics,R, English) [[alternative HTML version deleted]]
baptiste auguie
2009-Oct-14 18:54 UTC
[R] Scatter plot using icons (from a gif) instaed of points - is it possible ?
Hi, You'll probably find that there are two parts to your query: 1- import a bitmap into R, for this I'd suggest the wiki page, http://wiki.r-project.org/rwiki/doku.php?id=tips:graphics-misc:display-images 2- place the image (now some sort of matrix of colour points) at different locations on a graph. I don't know any function to do this (*) (but there may be some listed in the above webpage). Another option is to convert the bitmap to vector graphics using an external tool, then use the grImport package to create a grob (graphical object) that you can then place in any Grid-based plot (there is an example with lattice). HTH, baptiste (*) this may look like a starting point: http://wiki.r-project.org/rwiki/doku.php?id=tips:graphics-grid:displaybitmap 2009/10/14 Tal Galili <tal.galili at gmail.com>:> Hello dear R-help group. > > I wish to plot a scatter plot using icons (or images) instead of points. > Is it possible? and how so? > > Thanks, > Tal > > > > > > > ---------------------------------------------- > > > My contact information: > Tal Galili > E-mail: Tal.Galili at gmail.com > Phone number: 972-52-7275845 > FaceBook: Tal Galili > My Blogs: > http://www.talgalili.com (Web and general, Hebrew) > http://www.biostatistics.co.il (Statistics, Hebrew) > http://www.r-statistics.com/ (Statistics,R, English) > > ? ? ? ?[[alternative HTML version deleted]] > > ______________________________________________ > 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. >
Greg Snow
2009-Oct-14 19:30 UTC
[R] Scatter plot using icons (from a gif) instaed of points - is it possible ?
The help page for the subplot function in the TeachingDemos package shows an example of doing what you ask. The my.symbols function in the same package may work better (depending on what exactly you want). -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at imail.org 801.408.8111> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of Tal Galili > Sent: Wednesday, October 14, 2009 12:13 PM > To: r-help at r-project.org > Subject: [R] Scatter plot using icons (from a gif) instaed of points - > is it possible ? > > Hello dear R-help group. > > I wish to plot a scatter plot using icons (or images) instead of > points. > Is it possible? and how so? > > Thanks, > Tal > > > > > > > ---------------------------------------------- > > > My contact information: > Tal Galili > E-mail: Tal.Galili at gmail.com > Phone number: 972-52-7275845 > FaceBook: Tal Galili > My Blogs: > http://www.talgalili.com (Web and general, Hebrew) > http://www.biostatistics.co.il (Statistics, Hebrew) > http://www.r-statistics.com/ (Statistics,R, English) > > [[alternative HTML version deleted]] > > ______________________________________________ > 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.
Possibly Parallel Threads
- Importing tRNA data into R ?
- Capturing R console output into a file (sink+savehistory ??)
- Basic question: why does a scatter plot of a variable against itself works like this?
- How to: highlight R syntax on webpages ?
- Is there an implementation for "URL Encoding" (/format) in R?