thlYaxisControl: Control y-axis limits, big marks and decimal marks

Description Usage Arguments Value Author(s) See Also

View source: R/thlYaxisControl.R

Description

Control y-axis limits, big marks and decimal marks

Usage

1
2
3
thlYaxisControl(lang = "fi", limits = NULL, breaks = waiver(),
  sec.axis = FALSE, sec.axis.breaks = waiver(),
  sec.axis.labels = waiver())

Arguments

lang

Language: "fi" (default) for Finnish or "en" for English

limits

Specify y-axis limits

breaks

waiver() is the default breaks, see scale_continuous()

sec.axis

specify a secondary axis, see scale_continuous()

sec.axis.breaks

waiver() is the default breaks for a secondary axis

sec.axis.labels

the labels to be plotted on secondary axis, waiver() is the default, see sec_axis()

Value

ggplot options, to be combined with ggplot object with "+"

Author(s)

Salla Toikkanen, Tarja Palosaari, Petteri Mäntymaa

See Also

scale_x_continuous sec_axis


THLfi/thlGraphs documentation built on Oct. 31, 2019, 12:09 a.m.