get_arc_mask | R Documentation |
Create an arc mask image
get_arc_mask(height, width, cy, cx, r, t1, t2)
height |
image height |
width |
image width |
cy |
arc center y |
cx |
arc center x |
r |
arc radius |
t1 |
angle (start) in radius |
t2 |
angle (end) in radius |
an image
mask = get_arc_mask( 100, 120, 50, 50, 20, pi/6, pi ) plot(mask)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.