MCPcopy Index your code
hub / github.com/SiegeLord/RustGnuplot / label

Method label

gnuplot/src/axes_common.rs:1530–1541  ·  view source on GitHub ↗

Adds a label to the plot, with an optional marker. # Arguments `text` - Text of the label `x` - X coordinate of the label `y` - Y coordinate of the label `options` - Array of LabelOption<&str> controlling the appearance of the label. Relevant options are: `Offset` - Specifies the offset of the label `Font` - Specifies the font of the label `TextColor` - Specifies the color of the label `Rotate` -

(
		&'l mut self, text: &str, x: Coordinate, y: Coordinate, options: &[LabelOption<&str>],
	)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

exampleFunction · 0.80
exampleFunction · 0.80
exampleFunction · 0.80
exampleFunction · 0.80

Implementers 2

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

Calls 3

setMethod · 0.80
get_common_data_mutMethod · 0.45
to_one_way_ownedMethod · 0.45

Tested by

no test coverage detected