powered by
Apply a change in the margins of the figure
margin(fig, n, rule, ...)# S3 method for figure margin(fig, n, rule, ...)
# S3 method for figure margin(fig, n, rule, ...)
A figure with changed margins
The figure on which the rule is applied
integer, defines the linetype of the linewidth
character, lty changes the linetype (1 = solid, 2 = dashed, 3 = dotted), lwd changes the linewdith
Other arguments
margin(figure): Change the margins rule
margin(figure)
# draw default triangle draw(triangle()) # change the linetype draw(margin(triangle(), "lty", 2)) # draw default triangle draw(triangle()) # change the linetype draw(margin(triangle(),"lty", 2))
Run the code above in your browser using DataLab