Learn R Programming

webvis (version 0.0.2)

pv.dot: Add a dot to the visualization.

Description

Add a dot to the visualization.

Usage

pv.dot(left.name="x", bottom.name="y", bottom.scale=paste("linear", bottom.name, "y", sep = "."), left.scale=paste("linear", left.name, "x", sep = "."), ...)

Arguments

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

Value

Details

pv.dot Add a dot to the visualization.

References

http://code.google.com/p/protovis-js/wiki/PvWedge

See Also

pv.chart, a more low-level charting function.

Examples

Run this code
render.webvis(wv + pv.dot(wv=wv, data=c(1, 1.2, 1.7, 1.5, .7, .5, .2), ymax=140, xmax=140, xmin=10, ymin=10, scale.min=0))

Run the code above in your browser using DataLab