## univariate series
tinyplot(Nile)
# exception: expicitly passing a distribution type on a univariate series
# still triggers the corresponding transformation
tinyplot(Nile, type = "histogram")
## multivariate series (generally, these also look better with a theme)
tinytheme("clean2")
tinyplot(EuStockMarkets) ## faceted, free scales, same color
tinyplot(EuStockMarkets, facet.args = NULL) ## faceted, same scale, same color
tinyplot(EuStockMarkets, facet = "by") ## faceted, free scales, diff colors
tinyplot(EuStockMarkets, facet = NULL) ## single frame, diff colors
## further variations
tinyplot(EuStockMarkets, facet = NULL, legend = list("direct", repel = TRUE))
tinyplot(EuStockMarkets, facet = "by", facet.args = NULL)
tinyplot(EuStockMarkets, facet.args = list(free = TRUE, ncol = 1))
## pass additional tinyplot args through `...` for further customization
tinyplot(EuStockMarkets,
facet.args = NULL,
type = "area", xlab = NA, yaxl = ",",
main = "European stock indices")
tinytheme() ## reset
Run the code above in your browser using DataLab