From f3d6fe585c5d98c76334552d042504c285aac0c6 Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Sun, 28 Apr 2024 20:25:58 +0200 Subject: [PATCH] size -> linewidth --- vignettes/seecolorscales.Rmd | 48 +++++++++++++++---------------- vignettes/seecolorscales_dark.Rmd | 36 +++++++++++------------ 2 files changed, 42 insertions(+), 42 deletions(-) diff --git a/vignettes/seecolorscales.Rmd b/vignettes/seecolorscales.Rmd index 7c54103c5..816b713fa 100644 --- a/vignettes/seecolorscales.Rmd +++ b/vignettes/seecolorscales.Rmd @@ -90,7 +90,7 @@ to give an impression how these scales work with different type of data. ```{r} p1 <- ggplot(d1, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_social() p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = Species)) + @@ -104,7 +104,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d2, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_social() p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group4)) + @@ -118,7 +118,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d3, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_social() p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group5)) + @@ -134,7 +134,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d1, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_material() p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = Species)) + @@ -148,7 +148,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d2, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_material() p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group4)) + @@ -162,7 +162,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d3, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_material() p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group5)) + @@ -178,7 +178,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d1, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_flat() p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = Species)) + @@ -192,7 +192,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d2, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_flat() p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group4)) + @@ -206,7 +206,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d3, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_flat() p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group5)) + @@ -222,7 +222,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d1, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_metro() p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = Species)) + @@ -236,7 +236,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d2, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_metro() p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group4)) + @@ -250,7 +250,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d3, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_metro() p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group5)) + @@ -266,7 +266,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d1, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_see() p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = Species)) + @@ -280,7 +280,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d2, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_see() p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group4)) + @@ -294,7 +294,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d3, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_see() p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group5)) + @@ -310,7 +310,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d1, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_pizza() p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = Species)) + @@ -324,7 +324,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d2, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_pizza() p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group4)) + @@ -338,7 +338,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d3, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_pizza() p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group5)) + @@ -354,7 +354,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d1, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_bluebrown() p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = Species)) + @@ -368,7 +368,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d2, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_bluebrown() p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group4)) + @@ -382,7 +382,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d3, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_bluebrown() p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group5)) + @@ -398,7 +398,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d1, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_okabeito() p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = Species)) + @@ -412,7 +412,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d2, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_okabeito() p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group4)) + @@ -426,7 +426,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d3, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_okabeito() p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group5)) + diff --git a/vignettes/seecolorscales_dark.Rmd b/vignettes/seecolorscales_dark.Rmd index 722f3caf5..6f219b799 100644 --- a/vignettes/seecolorscales_dark.Rmd +++ b/vignettes/seecolorscales_dark.Rmd @@ -91,7 +91,7 @@ especially for *dark themes*. ```{r} p1 <- ggplot(d1, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_social(palette = "light") p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = Species)) + @@ -105,7 +105,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d2, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_social(palette = "light") p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group4)) + @@ -119,7 +119,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d3, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_social(palette = "light") p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group5)) + @@ -135,7 +135,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d1, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_material(palette = "light") p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = Species)) + @@ -149,7 +149,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d2, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_material(palette = "light") p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group4)) + @@ -163,7 +163,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d3, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_material(palette = "light") p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group5)) + @@ -179,7 +179,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d1, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_flat(palette = "light") p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = Species)) + @@ -193,7 +193,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d2, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_flat(palette = "light") p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group4)) + @@ -207,7 +207,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d3, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_flat(palette = "light") p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group5)) + @@ -223,7 +223,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d1, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_metro(palette = "light") p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = Species)) + @@ -237,7 +237,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d2, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_metro(palette = "light") p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group4)) + @@ -251,7 +251,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d3, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_metro(palette = "light") p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group5)) + @@ -267,7 +267,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d1, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_see(palette = "light") p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = Species)) + @@ -281,7 +281,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d2, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_see(palette = "light") p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group4)) + @@ -295,7 +295,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d3, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_see(palette = "light") p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group5)) + @@ -311,7 +311,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d1, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_pizza() p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = Species)) + @@ -325,7 +325,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d2, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_pizza() p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group4)) + @@ -339,7 +339,7 @@ plots(p1, p2, n_rows = 1) ```{r} p1 <- ggplot(d3, aes(x, y, colour = group)) + - geom_line(size = 1) + + geom_line(linewidth = 1) + scale_color_pizza() p2 <- ggplot(iris, aes(Sepal.Length, Sepal.Width, colour = group5)) +