package matrix
Module Matrix_charts.ViewSource
The type for views.
set n w v is v with window w for scale n, or none.
Raises Invalid_argument if w is not finite and increasing.
zoom f k v is v with the shown domain of each continuous position scale of f on axes, `Both by default, k times narrower about its middle, in the space of the logarithms on a log scale. A window too narrow for floating-point numbers to narrow it further, or one that would pass the floats' range, is left unchanged.
Raises Invalid_argument if k is not finite and positive.
pan f ~by:(dx, dy) v is v with the shown domain of each continuous x scale of f moved dx times its length toward greater values, and of each y scale dy times. A window that would pass the floats' range is left unchanged.