Selon Rajarshi Guha <[EMAIL PROTECTED]>:

> Hi, I'm writing code to generate a plot, in which I draw a series of
> rectangles. So my code is of the form
>
> plot.new()
> plot.window( ... )
>
> draw rectangle
> draw rectangle
> ...
>
> Is there a way for me to insert a PNG or PDF graphic at a specific
> position in the plot (ideally in  plot coordinates)? I realize that
> this might probably be better done in a separate image editor, but if
> it could be done programmatically that would be very handy
>
> Thanks,

Hi,

you can insert pixmaps at specified coordinates using s.logo in the ade4
package.

Regards,

Thibaut.

______________________________________________
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.

Reply via email to