Learn R Programming

webvis (version 0.0.2)

pv.scale: A scaling function for protovis.

Description

A scaling function for protovis.

Usage

pv.scale(type, width, height, data, data.name, scale.min, scale.max, xmin, xmax, ymin, ymax)

Arguments

type
The type is a "." separated string which determines whether the scaling is linear, log, or ..., and what parameter should be scaled.
width
The width of the panel.
height
The height of the panel.
data
The data for the panel.
data.name
The name of the variable to be scaled.
scale.min
The minimum scaled value (or defaults to zero) in pixels.
scale.max
The maximum scaled value (or defaults to the height/width of the visualization) in pixels.
xmin
The minimum x value for the scaled output.
xmax
The maximum x value for the scaled output.
ymin
The minimum y value for the scaled output.
ymax
The maximum y value for the scaled output.

Value

Details

pv.scale A scaling function for protovis.

References

http://vis.stanford.edu/protovis/