Function implot::set_colormap_from_preset [−][src]
pub fn set_colormap_from_preset(preset: Colormap, samples: u32)
Expand description
Switch to one of the built-in preset colormaps. If samples is greater than 1, the map will be linearly resampled.