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

Function main

examples/x3.rs:3–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1use graplot::{x, Plot};
2
3fn main() {
4 // x(...) ... sets the absolute max value for x
5 let plot = Plot::new((|x: f64| x.powf(3.) + x.powf(2.) - 0.08, x(1.)));
6 plot.show();
7}

Callers

nothing calls this directly

Calls 2

xFunction · 0.85
showMethod · 0.45

Tested by

no test coverage detected