File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ export(scatter3d)
4242export(scene)
4343export(signup)
4444export(stream)
45+ export(style)
4546export(subplot)
4647export(surface)
4748export(toRGB)
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ is.style <- function(x) inherits(x, "style")
55# ' @param traces numeric vector. Which traces should be modified?
66# ' @param ... arguments coerced to a list and used to modify trace(s)
77# ' @author Carson Sievert
8+ # ' @export
89# '
910
1011style <- function (traces = 1 , ... ) {
Original file line number Diff line number Diff line change 22% Please edit documentation in R / subplots.R
33\name {subplot }
44\alias {subplot }
5- \title {plotly subplots }
5+ \title {View multiple plots in a single view }
66\usage {
7- subplot(x )
7+ subplot(... , nrows = 1 , which_layout = 1 )
88}
99\arguments {
10- \item {x }{a list of plotly (and optionally layout ) objects }
11- }
12- \description {
13- plotly subplots
10+ \item {... }{any number of plotly objects }
11+
12+ \item {nrows }{number of rows for laying out plots in a grid - like structure.
13+ Only used if no domain is specified in either \link {xaxis } or \link {yaxis }}
14+
15+ \item {which_layout }{adopt the layout of which plot ?}
1416}
15- \examples {
16- \dontrun {
17- p1 <- ggplotly(qplot(rnorm(100 )))
18- p2 <- histogram(rnorm(100 ), xaxis(domain = c(0 , 0.5 )))
19- ps <- list (
20- plot1 = p1 ,
21- plot2 = p2 ,
22- layout(plot1 = domain(0 , ))
23- )
17+ \value {
18+ A plotly object
2419}
20+ \description {
21+ View multiple plots in a single view
2522}
2623\author {
2724Carson Sievert
You can’t perform that action at this time.
0 commit comments