1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// Copyright (c) 2013-2014 by SiegeLord
//
// All rights reserved. Distributed under LGPL 3.0. For full terms see the file LICENSE.

#![allow(unused_must_use)]
#![forbid(unstable_features)]
/*!
A simple gnuplot controller.

# Example

~~~no_run
# extern crate gnuplot;
# fn main() {
use gnuplot::{Figure, Caption, Color};

let x = [0u32, 1, 2];
let y = [3u32, 4, 5];
let mut fg = Figure::new();
fg.axes2d()
.lines(&x, &y, &[Caption("A line"), Color("black")]);
fg.show();
# }
~~~
*/
pub use crate::axes2d::Axes2D;
pub use crate::axes3d::Axes3D;
pub use crate::axes_common::AxesCommon;
pub use crate::coordinates::*;
pub use crate::datatype::*;
pub use crate::error_types::*;
pub use crate::figure::*;
pub use crate::options::*;

#[macro_use]
mod util;

mod axes2d;
mod axes3d;
mod axes_common;
mod coordinates;
mod datatype;
mod error_types;
mod figure;
mod options;
mod writer;