title_and_axis/
title_and_axis.rs

1use graplot::{x, Plot};
2
3fn main() {
4    let mut plot = Plot::new((|x: f64| x.cos(), x(6.)));
5
6    plot.set_title("cosine wave");
7    plot.set_xlabel("x axis");
8    plot.set_ylabel("y axis");
9    plot.show();
10}