We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee46322 commit bdc34a2Copy full SHA for bdc34a2
examples/function_svg.rs
@@ -0,0 +1,8 @@
1
+extern crate plotlib;
2
+
3
+fn main() {
4
+ let f = plotlib::function::Function::new(|x| x, 0., 10.)
5
+ .style(plotlib::function::Style::new().colour("burlywood"));
6
+ let v = plotlib::view::View::new().add(&f);
7
+ plotlib::page::Page::single(&v).save("function.svg");
8
+}
0 commit comments