Safe Haskell | Safe-Infered |
---|
- styleColor :: Int -> AlphaColour Double
- styleSymbol :: Int -> PlotKind
- iplot :: [InternalPlot Double Double] -> Layout1 Double Double
- name :: [PlotKind] -> String
- str2k :: String -> [PlotKind]
- str2khelper :: String -> PlotKind -> [PlotKind]
- data PlotKind
- data InternalPlot x y
- newtype Layout1DDD = Layout1DDD {}
- uplot :: [UPlot] -> Layout1DDD
- plot :: PlotType a => a
- class PlotType t where
- plotPDF :: PlotPDFType a => String -> a
- class PlotPDFType t where
- plotPS :: PlotPSType a => String -> a
- class PlotPSType t where
- plotPNG :: PlotPNGType a => String -> a
- class PlotPNGType t where
- data UPlot
- xcoords :: [Double] -> UPlot
- class PlotArg a where
- class IsPlot c where
Documentation
styleColor :: Int -> AlphaColour DoubleSource
styleSymbol :: Int -> PlotKindSource
str2khelper :: String -> PlotKind -> [PlotKind]Source
Type to define a few simple properties of each plot.
newtype Layout1DDD Source
uplot :: [UPlot] -> Layout1DDDSource
The main plotting function. The idea behind PlotType is shamelessly copied from Text.Printf (and is not exported). All you need to know is that your arguments need to be in class PlotArg. And PlotArg consists of functions and [Double] and String and PlotKind or [PlotKind].
PlotType Layout1DDD | |
(PlotArg a, PlotType r) => PlotType (a -> r) |
plotPDF :: PlotPDFType a => String -> aSource
Save a plot as a PDF file.
class PlotPDFType t whereSource
PlotPDFType (IO a) | |
(PlotArg a, PlotPDFType r) => PlotPDFType (a -> r) |
plotPS :: PlotPSType a => String -> aSource
Save a plot as a postscript file.
class PlotPSType t whereSource
PlotPSType (IO a) | |
(PlotArg a, PlotPSType r) => PlotPSType (a -> r) |
plotPNG :: PlotPNGType a => String -> aSource
Save a plot as a png file.
class PlotPNGType t whereSource
PlotPNGType (IO a) | |
(PlotArg a, PlotPNGType r) => PlotPNGType (a -> r) |