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

Method create_colormap

gnuplot/src/axes_common.rs:2110–2118  ·  view source on GitHub ↗

Creates and saves a colormap in the gnuplot environment that can be used for later plots (see examples/color_variable.rs for example usage) # Arguments `name` - The name with which to save the colormap `palette` - What palette type to use

(
		&mut self, name: &str, 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