Skip to content

Commit

Permalink
size -> linewidth
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Apr 28, 2024
1 parent 6761b5f commit f3d6fe5
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 42 deletions.
48 changes: 24 additions & 24 deletions vignettes/seecolorscales.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand Down
36 changes: 18 additions & 18 deletions vignettes/seecolorscales_dark.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand All @@ -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)) +
Expand Down

0 comments on commit f3d6fe5

Please sign in to comment.