subplot_1: Wrapper functions for plotly::subplot

Description Usage Arguments Details Value Examples

View source: R/subplot_1.R

Description

subplot_1 puts figures in 1 row
subplot_2 puts figures in 2 rows

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
subplot_1(
  ...,
  title = "Spectra and their derivatives",
  titleX = T,
  titleY = T,
  shareY = T,
  nrows = 1
)

subplot_2(
  ...,
  title = "Spectra and their derivatives",
  titleX = T,
  titleY = T,
  shareX = T,
  shareY = T,
  nrows = 2
)

Arguments

...

inputs to be passed to subplot.

title

(string) the main title of the plot.

titleX

should x-axis titles be retained?

titleY

should y-axis titles be retained?

shareY

should the y-axis be shared amongst the subplots?

nrows

number of rows for laying out plots in a grid-like structure. Only used if no domain is already specified.

shareX

should the x-axis be shared amongst the subplots?

Details

subplot

Value

plotly object

Examples

1
# ----- no examples yet -----

GegznaV/spPlot documentation built on April 29, 2020, 11:06 p.m.