Copyright | (c) A. V. H. McPhail 2010 2015 |
---|---|
License | BSD3 |
Maintainer | haskell.vivian.mcphail <at> gmail <dot> com |
Stability | provisional |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
One line Figure
creation
- plot :: Dataset d => d -> Figure ()
- loglog :: Dataset d => d -> Figure ()
- semilog :: Dataset d => d -> Figure ()
- linlog :: Dataset d => d -> Figure ()
- loglin :: Dataset d => d -> Figure ()
- parametric :: (Double -> Double, Double -> Double) -> (Double, Double) -> Int -> Figure ()
- title :: String -> Figure ()
- subtitle :: String -> Figure ()
- class Simple m
- grid :: Simple m => Bool -> m ()
- xrange :: Simple m => Scale -> Double -> Double -> m ()
- yrange :: Simple m => Scale -> Double -> Double -> m ()
- xautorange :: Simple m => m ()
- yautorange :: Simple m => m ()
- xautorangeLog :: Simple m => m ()
- yautorangeLog :: Simple m => m ()
- xlabel :: Simple m => String -> m ()
- ylabel :: Simple m => String -> m ()
Plotting
plot :: Dataset d => d -> Figure () Source #
create a figure with a single linear plot with lower X and Y axes whose ranges are set from the data
loglog :: Dataset d => d -> Figure () Source #
create a figure with a single log-log plot with lower X and Y axes whose ranges are set from the data
semilog :: Dataset d => d -> Figure () Source #
Deprecated: use linlog
create a figure with a single linear-log plot with lower X and Y axes whose ranges are set from the data
linlog :: Dataset d => d -> Figure () Source #
create a figure with a single linear-log plot with lower X and Y axes whose ranges are set from the data
loglin :: Dataset d => d -> Figure () Source #
create a figure with a single log-linear plot with lower X and Y axes whose ranges are set from the data
parametric :: (Double -> Double, Double -> Double) -> (Double, Double) -> Int -> Figure () Source #
create a figure with a single parametric plot over n points with lower X and Y axes whose ranges are set from the data
Formatting
The following functions can
be applied to a figure or a plot.
When applied in Figure
context
a single plot is assumed
xautorange :: Simple m => m () Source #
set the x range from data
yautorange :: Simple m => m () Source #
set the y range from data
xautorangeLog :: Simple m => m () Source #
set the x range from data
yautorangeLog :: Simple m => m () Source #
set the y range from data