plots-0.1.1.1: Diagrams based plotting library.

Copyright(C) 2015 Christopher Chalmers
LicenseBSD-style (see the file LICENSE)
MaintainerChristopher Chalmers
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Plots

Contents

Description

This module defines types for axis labels and tick labels.

Synopsis

Documentation

Axis definition (r2Axis and polarAxis), aspect ratio and scaling.

module Plots.Axis

AxisStyles are used to provide default colours and shapes for the plots of an axis.

Plot Types

Scatter plot

Scatter plots display data as a collection of points. A scatter plot can also be configured to have a different style / transform depending on the data.

Scatter and bubble. Scatter and bubble plot api.

Bar plots, individual or grouped.

Line plot

Line, trail and path. Line plot, steps plot api & api for trail and path.

Heat map plot

2D mapping from Doubles to colours.

Histogram plot

Histogram. API for histograms.

Wedge and annular wedge. API for wedge, annular wedge and pie. , module Plots.Types.Pie

Low level

Definitions of bounds, axis scale, orientation, legend, generic plot, plot spec and so on.

Grid lines and styles.

Grid lines and styles.

Axis labels and tick labels.

Rendering system for polar and r2 axis.

The scaling/size options for an axis.

Ticks properties and placement.

The plot title.

Colour bars.

Polar coordinates.

(&=) :: MonadState s m => ASetter' s b -> State b a -> m () infix 3 Source #

Similar to '(%=)' but takes a state modification instead of a function.

(&~~) :: Monad m => s -> StateT s m a -> m s infix 1 Source #

Similar to '(&~)' but works with StateT and returns it in m.