[R] Scatter plot using icons (from a gif) instaed of points - is it possible ?

2009-10-14 Thread Tal Galili
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.gal...@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@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.


Re: [R] Scatter plot using icons (from a gif) instaed of points - is it possible ?

2009-10-14 Thread baptiste auguie
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.gal...@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.gal...@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@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.


__
R-help@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.


Re: [R] Scatter plot using icons (from a gif) instaed of points - is it possible ?

2009-10-14 Thread Greg Snow
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.s...@imail.org
801.408.8111


 -Original Message-
 From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
 project.org] On Behalf Of Tal Galili
 Sent: Wednesday, October 14, 2009 12:13 PM
 To: r-help@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.gal...@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@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.

__
R-help@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.