bb_annoYaxis.Rd
wrapper function for plotting an y axis in its own viewport
bb_annoYaxis( plot, params = NULL, at = NULL, label = TRUE, main = TRUE, gp = gpar() )
plot | plot to add axis to |
---|---|
params | an optional "bb_params" object space containing relevant function parameters |
at | a numeric vector of x-value locations for the tick marks |
label | a logical value indicating whether to draw the labels on the tick marks, or an expression or character vector which specify the labels to use. If not logical, must be the same length as the at argument |
main | A logical value indicating whether to draw the axis at the left (TRUE) or at the right (FALSE) of the plot |