View source: R/axes_identify.R
axes_identify | R Documentation |
axes_identify Identifies plot axes location
axes_identify(fig.hsl, bg_lightness = 0.1)
fig.hsl |
array of pixels in HSL format (hue/saturation/lightness) |
bg_lightness |
a lightness threshold value between 0 and 1; every pixel with lightness > bg_lightness is considered background and removed (default: 0.1). |
a list w/ 2 objects, fig.hsl: the array of pixels cropped to the axes, axes: a list of xaxis, yaxis: vectors of integers to index plot by columns and rows respectively.
# axes_identify(fig.hsl = figure, bg_lightness = 0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.