Learn R Programming

tinyplot (version 0.4.1)

draw_facet_window: Draw facet windows

Description

Internal functions called from tinyplot in order to draw the plot window with different facets, grids, axes, etc.

facet_layout determines the layout of the facets, based on a set of inputs.

draw_facet_window is the main workhorse function for setting the exterior plot elements as part of a tinyplot call, including adjustment of margins for dynamic themes, etc.

Usage

draw_facet_window(
  add,
  cex_fct_adj,
  facet.args,
  facet_newlines,
  facet_font,
  facet_rect,
  facet_text,
  facet_col,
  facet_bg,
  facet_border,
  facet,
  facets,
  ifacet,
  nfacets,
  nfacet_cols,
  nfacet_rows,
  axes,
  flip,
  frame.plot,
  oxaxis,
  oyaxis,
  xlabs,
  xlim,
  xlim_user,
  xaxt,
  xaxs,
  xaxb,
  xaxl,
  ylabs,
  ylim,
  ylim_user,
  yaxt,
  yaxs,
  yaxb,
  yaxl,
  asp,
  log,
  dots,
  draw,
  grid,
  has_legend,
  type,
  x,
  xmax,
  xmin,
  y,
  ymax,
  ymin
)

facet_layout(facet, add = FALSE, facet.args = list())

Arguments