pmx_gpar: Handling pmx Graphical parameters

Description Usage Arguments Details Value

View source: R/gpar.R

Description

Handling pmx Graphical parameters

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
pmx_gpar(
  labels,
  axis.title,
  axis.text,
  ranges,
  is.smooth,
  smooth,
  is.band,
  band,
  is.draft,
  draft,
  discrete,
  is.identity_line,
  identity_line,
  scale_x_log10,
  scale_y_log10,
  color.scales,
  is.legend,
  legend.position
)

Arguments

labels

list of labels, like title, subtitle, x , y

axis.title

list or element_text (same as ggplot2 axis.title theme)

axis.text

list or element_text (same as ggplot2 axis.text theme)

ranges

limits of x/y ranges

is.smooth

logical if set to TRUE add smooth layer

smooth

smooth layer parameters

is.band

logical if TRUE add horizontal band

band

horizontal band parameters

is.draft

logical if TRUE add draft layer

draft

draft layer parameters

discrete

logical if TRUE x axis is discrete(FALSE by default)

is.identity_line

logical if TRUE add y=x line

identity_line

list y=x aes properties

scale_x_log10

logical if TRUE add scale_x_log10 layer

scale_y_log10

logical if TRUE add scale_y_log10 layer

color.scales

list define scales parameter in case of strat.color pmx_settings

is.legend

logical if TRUE x axis is discrete(FALSE by default)

legend.position

charcater legend position it takes the same value as the equivalent ggplot2 parameter

Details

This object contains all general graphic settings. It used internally by all pmx_plot(generic function) to set the default behavior.

Value

An object of class "pmx_gpar".


ggPMX documentation built on May 29, 2021, 5:06 p.m.