bar3D | R Documentation |
Draw 3D bars
bar3D(x, y, w, h, l, theta = 60, default.units = "npc", fill = "white", col = "black")
x |
x coordinate of the center point in the bottom face. |
y |
y coordinate of the center point in the bottom face. |
w |
Width of the botton face. |
h |
Height of the botton face. |
l |
Length of the bars (in the z-direction). |
theta |
The angle for the projection. |
default.units |
Units. |
fill |
Filled colors for the bars. |
col |
Border colors. |
grid.newpage()
bar3D(c(0.3, 0.7), 0.5, 0.2, 0.2, 0.2, fill = 2:3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.