From e07a2702921d7c1d2ea6f621636cbb8faa63091e Mon Sep 17 00:00:00 2001 From: hadley Date: Wed, 11 Apr 2012 10:28:19 -0500 Subject: [PATCH] Re-roxygenise --- man/coord_fixed.Rd | 6 +++--- man/geom_text.Rd | 4 ++-- man/scale_brewer.Rd | 2 +- man/scale_gradient.Rd | 2 +- man/scale_gradient2.Rd | 2 +- man/scale_gradientn.Rd | 2 +- man/scale_grey.Rd | 2 +- man/scale_hue.Rd | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/man/coord_fixed.Rd b/man/coord_fixed.Rd index 872ee845c8..f2f3a5caf2 100644 --- a/man/coord_fixed.Rd +++ b/man/coord_fixed.Rd @@ -33,9 +33,9 @@ # ensures that the ranges of axes are equal to the specified ratio by # adjusting the plot aspect ratio -qplot(mpg, wt, data = mtcars) + coord_equal(ratio = 1) -qplot(mpg, wt, data = mtcars) + coord_equal(ratio = 5) -qplot(mpg, wt, data = mtcars) + coord_equal(ratio = 1/5) +qplot(mpg, wt, data = mtcars) + coord_fixed(ratio = 1) +qplot(mpg, wt, data = mtcars) + coord_fixed(ratio = 5) +qplot(mpg, wt, data = mtcars) + coord_fixed(ratio = 1/5) # Resize the plot to see that the specified aspect ratio is maintained } diff --git a/man/geom_text.Rd b/man/geom_text.Rd index 34a67a98ef..57501b8298 100644 --- a/man/geom_text.Rd +++ b/man/geom_text.Rd @@ -60,7 +60,7 @@ p + geom_text(aes(label = paste(wt, "^(", cyl, ")", sep = "")), # Add an annotation not from a variable source c <- ggplot(mtcars, aes(wt, mpg)) + geom_point() -c + geom_text(data = data.frame(), aes(5, 30, label = "plot mpg vs. wt")) +c + geom_text(data = NULL, x = 5, y = 30, label = "plot mpg vs. wt") # Or, you can use annotate c + annotate("text", label = "plot mpg vs. wt", x = 2, y = 15, size = 8, colour = "red") @@ -70,7 +70,7 @@ qplot(wt, mpg, data = mtcars, label = rownames(mtcars), qplot(wt, mpg, data = mtcars, label = rownames(mtcars), size = wt) + geom_text(colour = "red") -# You can specify fontfamily, fontface and lineheight +# You can specify family, fontface and lineheight p <- ggplot(mtcars, aes(x=wt, y=mpg, label=rownames(mtcars))) p + geom_text(fontface=3) p + geom_text(aes(fontface=am+1)) diff --git a/man/scale_brewer.Rd b/man/scale_brewer.Rd index 6c35e04952..6f007c63e6 100644 --- a/man/scale_brewer.Rd +++ b/man/scale_brewer.Rd @@ -19,7 +19,7 @@ appropriate \code{type}} \item{...}{Other arguments passed on to - \code{\link{continuous_scale}} to control name, limits, + \code{\link{discrete_scale}} to control name, limits, breaks, labels and so forth.} } \description{ diff --git a/man/scale_gradient.Rd b/man/scale_gradient.Rd index 31bf7a700e..4f39762a7c 100644 --- a/man/scale_gradient.Rd +++ b/man/scale_gradient.Rd @@ -27,7 +27,7 @@ } \arguments{ \item{...}{Other arguments passed on to - \code{\link{continuous_scale}} to control name, limits, + \code{\link{discrete_scale}} to control name, limits, breaks, labels and so forth.} \item{na.value}{Colour to use for missing values} diff --git a/man/scale_gradient2.Rd b/man/scale_gradient2.Rd index 847ffb2bbe..6953f662db 100644 --- a/man/scale_gradient2.Rd +++ b/man/scale_gradient2.Rd @@ -21,7 +21,7 @@ diverging scale. Defaults to 0.} \item{...}{Other arguments passed on to - \code{\link{continuous_scale}} to control name, limits, + \code{\link{discrete_scale}} to control name, limits, breaks, labels and so forth.} \item{na.value}{Colour to use for missing values} diff --git a/man/scale_gradientn.Rd b/man/scale_gradientn.Rd index 05a38565a0..980f15dfe9 100644 --- a/man/scale_gradientn.Rd +++ b/man/scale_gradientn.Rd @@ -23,7 +23,7 @@ "Lab" usually best unless gradient goes through white.} \item{...}{Other arguments passed on to - \code{\link{continuous_scale}} to control name, limits, + \code{\link{discrete_scale}} to control name, limits, breaks, labels and so forth.} \item{na.value}{Colour to use for missing values} diff --git a/man/scale_grey.Rd b/man/scale_grey.Rd index fb20c55fb4..c3e8c89ad9 100644 --- a/man/scale_grey.Rd +++ b/man/scale_grey.Rd @@ -19,7 +19,7 @@ \item{end}{gray value at high end of palette} \item{...}{Other arguments passed on to - \code{\link{continuous_scale}} to control name, limits, + \code{\link{discrete_scale}} to control name, limits, breaks, labels and so forth.} \item{na.value}{Colour to use for missing values} diff --git a/man/scale_hue.Rd b/man/scale_hue.Rd index 5c9328f676..a60431eb78 100644 --- a/man/scale_hue.Rd +++ b/man/scale_hue.Rd @@ -33,7 +33,7 @@ \item{na.value}{Colour to use for missing values} \item{...}{Other arguments passed on to - \code{\link{continuous_scale}} to control name, limits, + \code{\link{discrete_scale}} to control name, limits, breaks, labels and so forth.} \item{h}{range of hues to use, in [0, 360]}