make_frame | R Documentation |
Adds title, grid, and required x- and y-axes.
make_frame(
x_range,
y_range,
xlab,
ylab,
main = "",
mar = c(5.1, 5.1, 1, 2.1),
add_axis_x = TRUE,
add_axis_y = TRUE,
col_box = "black",
col_grid = "grey95",
col_band = "grey95",
col_title = "black",
add_band = TRUE,
title_band_width = 0.09,
grid_lty = 1
)
x_range |
A |
y_range |
A |
xlab |
A |
ylab |
A |
main |
A |
mar |
A |
add_axis_x |
A |
add_axis_y |
A |
col_box |
A |
col_grid |
A |
col_band |
A |
col_title |
A |
add_band |
A |
title_band_width |
A |
grid_lty |
A |
Added title, grid, and axes.
Stephane Guerrier and Justin Lee
make_frame(x_range = c(0, 1), y_range = c(0, 1), xlab = "my xlab",
ylab = "my ylab", main = "my title")
make_frame(x_range = c(0, 1), y_range = c(0, 1), xlab = "my xlab",
ylab = "my ylab", add_band = FALSE)
make_frame(x_range = c(0, 1), y_range = c(0, 1), xlab = "my xlab",
ylab = "my ylab", main = "my title", col_band = "blue3",
col_title = "white", col_grid = "lightblue", grid_lty = 3)
make_frame(x_range = c(0, 1), y_range = c(0, 1), xlab = "my xlab",
ylab = "my ylab", main = "my title", col_band = "blue3",
col_title = "white", col_grid = "lightblue", grid_lty = 3,
title_band_width = 0.18)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.