Description Usage Arguments Details Value Author(s) References See Also Examples
Add an image to the visualization.
1 2  | 
url | 
 The url for the image to be displayed.  | 
bottom.name | 
 The name of the field in the supplied data frame or vector.  | 
left.name | 
 The name of the field in the supplied data frame or vector.  | 
bottom.scale | 
 The name of the field in the supplied data frame or vector.  | 
left.scale | 
 The name of the field in the supplied data frame or vector.  | 
... | 
 The parameters from pv.chart  | 
pv.image Add an image to the visualization.
A wv object.
Shane Conway shane.conway@gmail.com
http://code.google.com/p/protovis-js/wiki/PvWedge
pv.chart, a more low-level charting function.
1 2 3 4  | wv <- pv.panel(width=150, height=150)
render.webvis(wv + pv.image(url="http://vis.stanford.edu/protovis/ex/stanford.png", left.name=NULL, bottom.name=NULL))
pv.image(url="http://vis.stanford.edu/protovis/ex/stanford.png", width=100, height=100, left.name=NULL, bottom.name=NULL, render=TRUE)
pv.image(data=c(1, 1.2, 1.7, 1.5, .7, .5, .2), url="http://vis.stanford.edu/protovis/ex/stanford.png", width=50, height=50, render=TRUE)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.