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

Safe HaskellSafe-Inferred
LanguageHaskell98

Graphics.Gnuplot.Frame.OptionSet

Synopsis

Documentation

data T graph Source

deflt :: C graph => T graph Source

add :: T -> [String] -> T graph -> T graph Source

Add (set) an option with arguments as plain strings.

This is very flexible, but not very safe. Use it only as fall-back, if there is no specific setter function in Graphics.Gnuplot.Frame.OptionSet.

remove :: T -> T graph -> T graph Source

Remove (unset) an option.

This is very flexible, but not very safe. Use it only as fall-back, if there is no specific setter function in Graphics.Gnuplot.Frame.OptionSet.

boolean :: T -> Bool -> T graph -> T graph Source

Set or unset option according to a Bool. This is for switches that can be disabled using unset.

This is very flexible, but not very safe. Use it only as fall-back, if there is no specific setter function in Graphics.Gnuplot.Frame.OptionSet.

See also: addBool, add, remove.

addBool :: T -> Bool -> T graph -> T graph Source

Add an option with boolean value that is formatted like set style fill border and set style fill noborder. The name of the internal state (i.e. border) must be stored in the second field of the option.

This is very flexible, but not very safe. Use it only as fall-back, if there is no specific setter function in Graphics.Gnuplot.Frame.OptionSet.

See also boolean.

size :: C graph => Double -> Double -> T graph -> T graph Source

sizeRatio :: C graph => Double -> T graph -> T graph Source

sizeSquare :: C graph => T graph -> T graph Source

title :: C graph => String -> T graph -> T graph Source

key :: C graph => Bool -> T graph -> T graph Source

keyInside :: C graph => T graph -> T graph Source

keyOutside :: C graph => T graph -> T graph Source

xRange2d :: (C x, C y, C x) => (x, x) -> T (T x y) -> T (T x y) Source

yRange2d :: (C x, C y, C y) => (y, y) -> T (T x y) -> T (T x y) Source

xRange3d :: (C x, C y, C z, C x) => (x, x) -> T (T x y z) -> T (T x y z) Source

yRange3d :: (C x, C y, C z, C y) => (y, y) -> T (T x y z) -> T (T x y z) Source

zRange3d :: (C x, C y, C z, C z) => (z, z) -> T (T x y z) -> T (T x y z) Source

xLabel :: C graph => String -> T graph -> T graph Source

yLabel :: C graph => String -> T graph -> T graph Source

zLabel :: (C x, C y, C z) => String -> T (T x y z) -> T (T x y z) Source

xTicks2d :: (C x, C y, C x) => [(String, x)] -> T (T x y) -> T (T x y) Source

yTicks2d :: (C x, C y, C y) => [(String, y)] -> T (T x y) -> T (T x y) Source

xTicks3d :: (C x, C y, C z, C x) => [(String, x)] -> T (T x y z) -> T (T x y z) Source

yTicks3d :: (C x, C y, C z, C y) => [(String, y)] -> T (T x y z) -> T (T x y z) Source

zTicks3d :: (C x, C y, C z, C z) => [(String, z)] -> T (T x y z) -> T (T x y z) Source

xLogScale :: C graph => T graph -> T graph Source

yLogScale :: C graph => T graph -> T graph Source

zLogScale :: (C x, C y, C z) => T (T x y z) -> T (T x y z) Source

grid :: C graph => Bool -> T graph -> T graph Source

gridXTicks :: C graph => Bool -> T graph -> T graph Source

gridYTicks :: C graph => Bool -> T graph -> T graph Source

gridZTicks :: (C x, C y, C z) => Bool -> T (T x y z) -> T (T x y z) Source

xFormat :: C graph => String -> T graph -> T graph Source

yFormat :: C graph => String -> T graph -> T graph Source

zFormat :: (C x, C y, C z) => String -> T (T x y z) -> T (T x y z) Source

view Source

Arguments

:: Double

rotateX

-> Double

rotateZ

-> Double

scale

-> Double

scaleZ

-> T (T x y z) 
-> T (T x y z) 

Set parameters of viewing a surface graph. See info:gnuplot/view

viewMap :: T (T x y z) -> T (T x y z) Source

Show flat pixel map.

boxwidthRelative :: C graph => Double -> T graph -> T graph Source

boxwidthAbsolute :: C graph => Double -> T graph -> T graph Source