Chart-1.9.5: A library for generating 2D Charts and Plots

Copyright | (c) Malcolm Wallace 2009
License | BSD-style (see COPYRIGHT file)
Safe Haskell | None
Language | Haskell98

Graphics.Rendering.Chart.Plot.AreaSpots

Description

Area spots are a collection of unconnected filled circles, with x,y position, and an independent z value to be represented by the relative area of the spots.

Synopsis

- data AreaSpots z x y = AreaSpots {
  - _area_spots_title :: String
  - _area_spots_linethick :: Double
  - _area_spots_linecolour :: AlphaColour Double
  - _area_spots_fillcolour :: Colour Double
  - _area_spots_opacity :: Double
  - _area_spots_max_radius :: Double
  - _area_spots_values :: [(x, y, z)]
  }
- area_spots_title :: forall z x y f. Functor f => (String -> f String) -> AreaSpots z x y -> f (AreaSpots z x y)
- area_spots_linethick :: forall z x y f. Functor f => (Double -> f Double) -> AreaSpots z x y -> f (AreaSpots z x y)
- area_spots_linecolour :: forall z x y f. Functor f => (AlphaColour Double -> f (AlphaColour Double)) -> AreaSpots z x y -> f (AreaSpots z x y)
- area_spots_fillcolour :: forall z x y f. Functor f => (Colour Double -> f (Colour Double)) -> AreaSpots z x y -> f (AreaSpots z x y)
- area_spots_opacity :: forall z x y f. Functor f => (Double -> f Double) -> AreaSpots z x y -> f (AreaSpots z x y)
- area_spots_max_radius :: forall z x y f. Functor f => (Double -> f Double) -> AreaSpots z x y -> f (AreaSpots z x y)
- area_spots_values :: forall z1 x1 y1 z2 x2 y2 f. Functor f => ([(x1, y1, z1)] -> f [(x2, y2, z2)]) -> AreaSpots z1 x1 y1 -> f (AreaSpots z2 x2 y2)
- data AreaSpots4D z t x y = AreaSpots4D {
  - _area_spots_4d_title :: String
  - _area_spots_4d_linethick :: Double
  - _area_spots_4d_palette :: [Colour Double]
  - _area_spots_4d_opacity :: Double
  - _area_spots_4d_max_radius :: Double
  - _area_spots_4d_values :: [(x, y, z, t)]
  }
- area_spots_4d_title :: forall z t x y f. Functor f => (String -> f String) -> AreaSpots4D z t x y -> f (AreaSpots4D z t x y)
- area_spots_4d_linethick :: forall z t x y f. Functor f => (Double -> f Double) -> AreaSpots4D z t x y -> f (AreaSpots4D z t x y)
- area_spots_4d_palette :: forall z t x y f. Functor f => ([Colour Double] -> f [Colour Double]) -> AreaSpots4D z t x y -> f (AreaSpots4D z t x y)
- area_spots_4d_opacity :: forall z t x y f. Functor f => (Double -> f Double) -> AreaSpots4D z t x y -> f (AreaSpots4D z t x y)
- area_spots_4d_max_radius :: forall z t x y f. Functor f => (Double -> f Double) -> AreaSpots4D z t x y -> f (AreaSpots4D z t x y)
- area_spots_4d_values :: forall z1 t1 x1 y1 z2 t2 x2 y2 f. Functor f => ([(x1, y1, z1, t1)] -> f [(x2, y2, z2, t2)]) -> AreaSpots4D z1 t1 x1 y1 -> f (AreaSpots4D z2 t2 x2 y2)

# Documentation

data AreaSpots z x y #

A collection of unconnected spots, with x,y position, and an independent z value to be represented by the area of the spot.

Constructors

AreaSpots |
Fields _area_spots_title :: String _area_spots_linethick :: Double _area_spots_linecolour :: AlphaColour Double _area_spots_fillcolour :: Colour Double _area_spots_opacity :: Double _area_spots_max_radius :: Double the largest size of spot _area_spots_values :: [(x, y, z)]

#### Instances

Instances details

PlotValue z => ToPlot (AreaSpots z) # |
Instance details Defined in Graphics.Rendering.Chart.Plot.AreaSpots Methods toPlot :: AreaSpots z x y -> Plot x y #
Default (AreaSpots z x y) # |
Instance details Defined in Graphics.Rendering.Chart.Plot.AreaSpots Methods def :: AreaSpots z x y #

area_spots_title :: forall z x y f. Functor f => (String -> f String) -> AreaSpots z x y -> f (AreaSpots z x y) #

area_spots_linethick :: forall z x y f. Functor f => (Double -> f Double) -> AreaSpots z x y -> f (AreaSpots z x y) #

area_spots_linecolour :: forall z x y f. Functor f => (AlphaColour Double -> f (AlphaColour Double)) -> AreaSpots z x y -> f (AreaSpots z x y) #

area_spots_fillcolour :: forall z x y f. Functor f => (Colour Double -> f (Colour Double)) -> AreaSpots z x y -> f (AreaSpots z x y) #

area_spots_opacity :: forall z x y f. Functor f => (Double -> f Double) -> AreaSpots z x y -> f (AreaSpots z x y) #

area_spots_max_radius :: forall z x y f. Functor f => (Double -> f Double) -> AreaSpots z x y -> f (AreaSpots z x y) #

area_spots_values :: forall z1 x1 y1 z2 x2 y2 f. Functor f => ([(x1, y1, z1)] -> f [(x2, y2, z2)]) -> AreaSpots z1 x1 y1 -> f (AreaSpots z2 x2 y2) #

data AreaSpots4D z t x y #

A collection of unconnected spots, with x,y position, an independent z value to be represented by the area of the spot, and in addition, a fourth variable t to be represented by a colour from a given palette. (A linear transfer function from t to palette is assumed.)

Constructors

AreaSpots4D |
Fields _area_spots_4d_title :: String _area_spots_4d_linethick :: Double _area_spots_4d_palette :: [Colour Double] _area_spots_4d_opacity :: Double _area_spots_4d_max_radius :: Double the largest size of spot _area_spots_4d_values :: [(x, y, z, t)]

#### Instances

Instances details

(PlotValue z, PlotValue t, Show t) => ToPlot (AreaSpots4D z t) # |
Instance details Defined in Graphics.Rendering.Chart.Plot.AreaSpots Methods toPlot :: AreaSpots4D z t x y -> Plot x y #
Default (AreaSpots4D z t x y) # |
Instance details Defined in Graphics.Rendering.Chart.Plot.AreaSpots Methods def :: AreaSpots4D z t x y #

area_spots_4d_title :: forall z t x y f. Functor f => (String -> f String) -> AreaSpots4D z t x y -> f (AreaSpots4D z t x y) #

area_spots_4d_linethick :: forall z t x y f. Functor f => (Double -> f Double) -> AreaSpots4D z t x y -> f (AreaSpots4D z t x y) #

area_spots_4d_palette :: forall z t x y f. Functor f => ([Colour Double] -> f [Colour Double]) -> AreaSpots4D z t x y -> f (AreaSpots4D z t x y) #

area_spots_4d_opacity :: forall z t x y f. Functor f => (Double -> f Double) -> AreaSpots4D z t x y -> f (AreaSpots4D z t x y) #

area_spots_4d_max_radius :: forall z t x y f. Functor f => (Double -> f Double) -> AreaSpots4D z t x y -> f (AreaSpots4D z t x y) #

area_spots_4d_values :: forall z1 t1 x1 y1 z2 t2 x2 y2 f. Functor f => ([(x1, y1, z1, t1)] -> f [(x2, y2, z2, t2)]) -> AreaSpots4D z1 t1 x1 y1 -> f (AreaSpots4D z2 t2 x2 y2) #