MCPcopy Create free account
hub / github.com/elftausend/graplot / add

Method add

src/plots/plot3d.rs:19–25  ·  view source on GitHub ↗
(&mut self, args: A)

Source from the content-addressed store, hash-verified

17 }
18
19 pub fn add<A: Plot3DArg>(&mut self, args: A) {
20 let plot = args.as_plot();
21 self.xs.push(plot.xs[0].clone());
22 self.ys.push(plot.ys[0].clone());
23 self.zs.push(plot.zs[0].clone());
24 self.line_desc.push(plot.line_desc[0])
25 }
26
27 pub fn show(self) {
28 let conf = Conf {

Callers

nothing calls this directly

Calls 1

as_plotMethod · 0.45

Tested by

no test coverage detected