diff --git a/DESCRIPTION b/DESCRIPTION index 25f44c7..23b0092 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -4,7 +4,7 @@ Title: Freshing Up your 'ggplot2' Plots URL: https://github.com/stefanedwards/lemon BugReports: https://github.com/stefanedwards/lemon/issues Version: 0.3.1 -Date: 2017-05-18 +Date: 2017-09-12 Authors@R: c( person('Stefan McKinnon', 'Edwards', email='sme@iysik.com', role=c('aut','ctb','cre')), @@ -32,7 +32,7 @@ Imports: License: GPL-3 Encoding: UTF-8 LazyData: true -RoxygenNote: 5.0.1 +RoxygenNote: 6.0.1 Collate: 'ggplot2.r' 'brackets.R' diff --git a/README.Rmd b/README.Rmd index 47b46d3..7cd4135 100644 --- a/README.Rmd +++ b/README.Rmd @@ -60,7 +60,7 @@ ggplot(mtcars, aes(x=cyl, y=mpg)) + # install.packages("devtools") # Install release from GitHub: -devtools::install_github("stefanedwards/lemon", ref='v0.3') +devtools::install_github("stefanedwards/lemon", ref='v0.3.1') # Or get the lastest development version from GitHub: devtools::install_github("stefanedwards/lemon") diff --git a/README.md b/README.md index 7f64fa0..c3b1277 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Installation # install.packages("devtools") # Install release from GitHub: -devtools::install_github("stefanedwards/lemon", ref='v0.3') +devtools::install_github("stefanedwards/lemon", ref='v0.3.1') # Or get the lastest development version from GitHub: devtools::install_github("stefanedwards/lemon") diff --git a/man/g_legend.Rd b/man/g_legend.Rd index bcd317c..9da542a 100644 --- a/man/g_legend.Rd +++ b/man/g_legend.Rd @@ -63,12 +63,11 @@ grid.arrange(d + theme(legend.position='hidden'), # Above fails with more than one guide -} -\author{ -\href{http://baptiste.github.io/}{Baptiste AuguiƩ} } \seealso{ \code{\link{grid_arrange_shared_legend}}, \code{\link{reposition_legend}}, \code{\link[gtable]{gtable_filter}} } - +\author{ +\href{http://baptiste.github.io/}{Baptiste AuguiƩ} +} diff --git a/man/grid_arrange_shared_legend.Rd b/man/grid_arrange_shared_legend.Rd index daaf240..9df4ae9 100644 --- a/man/grid_arrange_shared_legend.Rd +++ b/man/grid_arrange_shared_legend.Rd @@ -38,6 +38,9 @@ p4 <- qplot(depth, price, data = dsamp, colour = clarity) grid_arrange_shared_legend(p1, p2, p3, p4, ncol = 4, nrow = 1) grid_arrange_shared_legend(p1, p2, p3, p4, ncol = 2, nrow = 2) } +\seealso{ +\code{\link{g_legend}}, \code{\link{reposition_legend}} +} \author{ Originally brought to you by \href{http://rpubs.com/sjackman}{Shaun Jackman} (\href{http://rpubs.com/sjackman/grid_arrange_shared_legend}{original}), @@ -45,7 +48,3 @@ Originally brought to you by \href{http://rpubs.com/sjackman}{Shaun Jackman} \url{https://github.com/tidyverse/ggplot2/wiki/Share-a-legend-between-two-ggplot2-graphs}. Stefan McKinnon Edwards added left and top margins. } -\seealso{ -\code{\link{g_legend}}, \code{\link{reposition_legend}} -} - diff --git a/man/reposition_legend.Rd b/man/reposition_legend.Rd index 3e9ee0b..80cbc3e 100644 --- a/man/reposition_legend.Rd +++ b/man/reposition_legend.Rd @@ -88,10 +88,9 @@ reposition_legend(d + theme(legend.position='bottom'), x=0.3, y=0, just=c(0, -0. # For using with facets: reposition_legend(d + facet_grid(.~cut), 'top left', panel = 'panel-3-1') } -\author{ -Stefan McKinnon Edwards -} \seealso{ \code{\link{g_legend}}, \code{\link{grid_arrange_shared_legend}} } - +\author{ +Stefan McKinnon Edwards +} diff --git a/vignettes/legends.Rmd b/vignettes/legends.Rmd index c3c4257..c6e1282 100644 --- a/vignettes/legends.Rmd +++ b/vignettes/legends.Rmd @@ -281,7 +281,7 @@ is possible. ## Plot for ggplot2-extensions -```{r fig.height=300,fig.width=350} +```{r fig.height=300/72,fig.width=350/72} p <- ggplot(dsamp, aes(x=cut, y=price, colour=clarity)) + geom_point(position=position_jitter(width=0.2)) + coord_flex_cart(bottom=brackets_horizontal(), left=capped_vertical('none')) + theme_bw() + theme(panel.border=element_blank(), axis.line = element_line(),