Enum gnuplot::PaletteType
[−]
[src]
pub enum PaletteType {
Gray(f32),
Formula(i32, i32, i32),
CubeHelix(f32, f32, f32, f32),
}Specifies what sort of palette to use
Variants
Gray(f32)Use a gray palette with a specified gamma
Formula(i32, i32, i32)Use a palette with that uses a predefined formula for each color component. Each formula is identified by an integer between [-36, 36]. See gnuplot documentation, or use the pre-defined constants.
CubeHelix(f32, f32, f32, f32)Use a cube helix palette, with a certain start (in radians), cycles, saturation and gamma.
Trait Implementations
impl Clone for PaletteType[src]
fn clone(&self) -> PaletteType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more