MCPcopy Create free account
hub / github.com/SiegeLord/RustGnuplot / set_palette

Method set_palette

gnuplot/src/axes_common.rs:2098–2102  ·  view source on GitHub ↗

Sets the palette used for 3D surface and image plots. See the [palettes][crate::palettes] module for a list of predefined palettes. # Arguments `palette` - What palette type to use

(&mut self, palette: PaletteType<&[(f32, f32, f32, f32)]>)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

exampleFunction · 0.80

Implementers 2

axes2d.rsgnuplot/src/axes2d.rs
axes3d.rsgnuplot/src/axes3d.rs

Calls 2

get_common_data_mutMethod · 0.45
to_one_way_ownedMethod · 0.45

Tested by

no test coverage detected