//! # Basic example
//!
//! See [the basic_plot() function source](../src/demo_basic/demo_basic.rs.html#49-77) for a demo
//! on how to use this library after declaring the components of a plot.
//!
//! A basic plot may be configured by providing a struct detailing its components and deriving it
//! using the `Plot` macro:
//!
//! ```
//! #[derive(Clone, PartialEq, Debug, Default, Plot)]
//! pub struct BasicPlot {
//! config: Config,
//! title: Maybe
,
//! x: XAxis,
//! y: YAxis,
//! series: Series,
//! }
//! ```
//!
//! Axis can be similarly derived with an `Axis` macro:
//!
//! ```
//! #[derive(Clone, PartialEq, Eq, Debug, Default, Axis)]
//! pub struct XAxis
//! {
//! /// declares a label on the X axis as required (without it, the gnuplot commands can't be
//! /// accessed)
//! label: Required