Chart-simple-1.3.3: A wrapper for the chart library to assist with basic plots (Deprecated - use the Easy module instead)

Safe HaskellNone
LanguageHaskell98

Graphics.Rendering.Chart.Simple.Internal

Synopsis

Documentation

data PlotKind Source

Type to define a few simple properties of each plot.

data InternalPlot x y Source

Constructors

IPY [y] [PlotKind] 
IPX [x] [PlotKind] 

uplot :: [UPlot] -> LayoutDDD Source

Deprecated: use Chart.Graphics.Rendering.Chart.Easy

plot :: PlotType a => a Source

Deprecated: use Chart.Graphics.Rendering.Chart.Easy

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].

class PlotType t where Source

Methods

pl :: [UPlot] -> t Source

Instances

plotPDF :: PlotPDFType a => String -> a Source

Deprecated: use Chart.Graphics.Rendering.Chart.Easy

Save a plot as a PDF file.

class PlotPDFType t where Source

Methods

pld :: FilePath -> [UPlot] -> t Source

Instances

PlotPDFType (IO a) 
(PlotArg a, PlotPDFType r) => PlotPDFType (a -> r) 

plotPS :: PlotPSType a => String -> a Source

Deprecated: use Chart.Graphics.Rendering.Chart.Easy

Save a plot as a postscript file.

class PlotPSType t where Source

Methods

pls :: FilePath -> [UPlot] -> t Source

Instances

PlotPSType (IO a) 
(PlotArg a, PlotPSType r) => PlotPSType (a -> r) 

plotPNG :: PlotPNGType a => String -> a Source

Deprecated: use Chart.Graphics.Rendering.Chart.Easy

Save a plot as a png file.

class PlotPNGType t where Source

Methods

plp :: FilePath -> [UPlot] -> t Source

Instances

PlotPNGType (IO a) 
(PlotArg a, PlotPNGType r) => PlotPNGType (a -> r) 

class PlotArg a where Source

Methods

toUPlot :: a -> [UPlot] Source

Instances

class IsPlot c where Source

Methods

toUPlot' :: [c] -> [UPlot] Source

Instances

IsPlot Char 
IsPlot Double 
IsPlot PlotKind 
IsPlot p => IsPlot [p] 
(Real a, Real b, Fractional a, Fractional b) => IsPlot (a -> b) 
(IsPlot p, IsPlot q) => IsPlot (p, q) 
(IsPlot p, IsPlot q, IsPlot r) => IsPlot (p, q, r) 

plotWindow :: PlotWindowType a => a Source

Deprecated: use Chart.Graphics.Rendering.Chart.Easy

Display a plot on the screen.

class PlotWindowType t where Source

Methods

plw :: [UPlot] -> t Source

Instances