pv.dot: Add a dot to the visualization.

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/protovis.marks.R

Description

Add a dot to the visualization.

Usage

1
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

Details

pv.dot Add a dot to the visualization.

Value

A wv object.

Author(s)

Shane Conway [email protected]

References

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

See Also

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

Examples

1
2
wv <- pv.panel(width=150, height=150)
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))

webvis documentation built on May 30, 2017, 12:46 a.m.