Make the aes view of this plot's panel follow an interval
selection defined on another (overview) plot: dragging the
overview brush pans and zooms this (detail) panel to the selected range. This
is a display-tier view change (pan/zoom), not a scale retrain.
Usage
bind_scale(plot, selection, aes = c("x", "y"))Arguments
- plot
A PlotSpec (the detail view).
- selection
A
SelectionSpec(an interval selection), or a name string.- aes
The axis to bind,
"x"(default) or"y".
Value
The PlotSpec, with the bind registered.
