Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
use graplot::{x, Plot};
2
3
fn 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
x
Function · 0.85
show
Method · 0.45
Tested by
no test coverage detected