addScaleBar | R Documentation |
'addScaleBar()' adds a scale bar to an image whose size depends on the metadata of the image
addScaleBar(
image = NULL,
length_per_pixel_in_um = NULL,
distance_from_border = 20
)
image |
A 2 or 3 dimensional array which could also be of the formal EBImage image class. |
length_per_pixel_in_um |
A number representing thelength per pixel in um. |
distance_from_border |
A number being the distance in pixels of the scale bar from the right image border. |
An array (image with added scale bar).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.