[][src]Function implot::set_colormap_from_preset

pub fn set_colormap_from_preset(preset: Colormap, samples: u32)

Switch to one of the built-in preset colormaps. If samples is greater than 1, the map will be linearly resampled.