gnuplot-0.5.6.1: 2D and 3D plots using gnuplot

Safe HaskellSafe
LanguageHaskell98

Graphics.Gnuplot.Value.Tuple

Description

Provide a class that renders multiple Haskell values in a text form that is accessible by gnuplot.

Maybe we add a method for the binary interface to gnuplot later.

Synopsis

Documentation

class C a where Source #

Minimal complete definition

text

Methods

text :: a -> [ShowS] Source #

For values that are also in Atom class, text must generate a singleton list.

columnCount :: ColumnCount a Source #

It must hold ColumnCount (length (text x)) == columnCount.

Instances
C Double Source # 
Instance details

Defined in Graphics.Gnuplot.Value.Tuple

C Float Source # 
Instance details

Defined in Graphics.Gnuplot.Value.Tuple

C Int Source # 
Instance details

Defined in Graphics.Gnuplot.Value.Tuple

C Int8 Source # 
Instance details

Defined in Graphics.Gnuplot.Value.Tuple

C Int16 Source # 
Instance details

Defined in Graphics.Gnuplot.Value.Tuple

C Int32 Source # 
Instance details

Defined in Graphics.Gnuplot.Value.Tuple

C Int64 Source # 
Instance details

Defined in Graphics.Gnuplot.Value.Tuple

C Integer Source # 
Instance details

Defined in Graphics.Gnuplot.Value.Tuple

C Word8 Source # 
Instance details

Defined in Graphics.Gnuplot.Value.Tuple

C Word16 Source # 
Instance details

Defined in Graphics.Gnuplot.Value.Tuple

C Word32 Source # 
Instance details

Defined in Graphics.Gnuplot.Value.Tuple

C Word64 Source # 
Instance details

Defined in Graphics.Gnuplot.Value.Tuple

C UTCTime Source # 
Instance details

Defined in Graphics.Gnuplot.Value.Tuple

C Day Source # 
Instance details

Defined in Graphics.Gnuplot.Value.Tuple

Integral a => C (Ratio a) Source # 
Instance details

Defined in Graphics.Gnuplot.Value.Tuple

(C a, C b) => C (a, b) Source # 
Instance details

Defined in Graphics.Gnuplot.Value.Tuple

Methods

text :: (a, b) -> [ShowS] Source #

columnCount :: ColumnCount (a, b) Source #

(C a, C b, C c) => C (a, b, c) Source # 
Instance details

Defined in Graphics.Gnuplot.Value.Tuple

Methods

text :: (a, b, c) -> [ShowS] Source #

columnCount :: ColumnCount (a, b, c) Source #

(C a, C b, C c, C d) => C (a, b, c, d) Source # 
Instance details

Defined in Graphics.Gnuplot.Value.Tuple

Methods

text :: (a, b, c, d) -> [ShowS] Source #

columnCount :: ColumnCount (a, b, c, d) Source #

newtype ColumnCount a Source #

Count numbers of gnuplot data columns for the respective type.

Somehow a writer monad with respect to Sum monoid without material monadic result.

Cf. ColumnSet module.

Constructors

ColumnCount Int