Skip to content

Commit ea635da

Browse files
committed
Re-document
1 parent 66931c3 commit ea635da

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

R/annotation-logticks.r

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
#' (default) when the data is already transformed with \code{log10()} or when
1717
#' using \code{scale_y_log10}. It should be \code{FALSE} when using
1818
#' \code{coord_trans(y = "log10")}.
19+
#' @param colour Colour of the tick marks.
20+
#' @param size Thickness of tick marks, in mm.
21+
#' @param linetype Linetype of tick marks (\code{solid}, \code{dashed}, etc.)
22+
#' @param alpha The transparency of the tick marks.
23+
#' @param color An alias for \code{colour}.
1924
#' @param ... Other parameters passed on to the layer
2025
#'
2126
#' @export

man/annotation_logticks.Rd

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
\usage{
55
annotation_logticks(base = 10, sides = "bl",
66
scaled = TRUE, short = unit(0.1, "cm"),
7-
mid = unit(0.2, "cm"), long = unit(0.3, "cm"), ...)
7+
mid = unit(0.2, "cm"), long = unit(0.3, "cm"),
8+
colour = "black", size = 0.5, linetype = 1, alpha = 1,
9+
color = NULL, ...)
810
}
911
\arguments{
1012
\item{base}{the base of the log (default 10)}
@@ -31,6 +33,17 @@
3133
\code{scale_y_log10}. It should be \code{FALSE} when
3234
using \code{coord_trans(y = "log10")}.}
3335

36+
\item{colour}{Colour of the tick marks.}
37+
38+
\item{size}{Thickness of tick marks, in mm.}
39+
40+
\item{linetype}{Linetype of tick marks (\code{solid},
41+
\code{dashed}, etc.)}
42+
43+
\item{alpha}{The transparency of the tick marks.}
44+
45+
\item{color}{An alias for \code{colour}.}
46+
3447
\item{...}{Other parameters passed on to the layer}
3548
}
3649
\description{

0 commit comments

Comments
 (0)