Learn R Programming

HilbertVis (version 1.30.0)

simpleLinPlot: Default plot callback function for hilbertDisplay

Description

Plots a small part of the supplied vector.

Usage

simpleLinPlot( data, info )

Arguments

data
The data vector, a vector of integers.
info
A list with fields describing the context, as described in the help page for hilbertDisplay.

Value

  • Null.

Details

This is a very simple function that is called by default by hilbertDisplay when the user chooses the "Linear plot" option and clicks on a pixel in the display. It displays a piece of 2000 values of the data vector, centered around info$bin. You will often want to replace this function by one tailored to your needs.

See Also

hilbertDisplay