Skip to contents

<a href="https://adrientaudiere.github.io/MiscMetabar/articles/Rules.html#lifecycle"> <img src="https://img.shields.io/badge/lifecycle-experimental-orange" alt="lifecycle-experimental"></a>

Usage

scale_color_idest_c(palette_name = "all_color_idest", direction = 1, ...)

Arguments

palette_name

The name of the palette to use. The available palette are c("all_color_idest", "ligth_color_idest", "dark_color_idest", "Picabia", "Picasso", "Levine2", "Rattner", "Sidhu", "Hokusai2", "Hokusai3"). See [idest_pal] for more details.

direction

Direction of the palette. 1 for standard, -1 for reversed.

...

Additional arguments passed to [ggplot2::scale_color_gradientn()].

Value

A ggplot2 scale object.

Author

Adrien Taudiere

Examples

library(ggplot2)
ggplot(mtcars, aes(wt, mpg, color = disp)) +
  geom_point() +
  scale_color_idest_c()
#> Warning: `scale_color_idest_c()` was deprecated in taxinfo 0.2.0.
#>  Please use `ggplotpq::scale_color_idest_c()` instead.