learn-physics-0.4.3: Haskell code for learning physics

Stabilityexperimental
MaintainerScott N. Walck <walck@lvc.edu>
Safe HaskellNone

Physics.Learn.Visual.PlotTools

Description

This module contains helping functions for using Gnuplot.

Synopsis

Documentation

label :: String -> (Double, Double) -> AttributeSource

An Attribute with a given label at a given position.

postscript :: AttributeSource

An Attribute that requests postscript output.

psFile :: FilePath -> AttributeSource

An Attribute giving the postscript file name.

examplePlot1 :: IO ()Source

An example of the use of label. See the source code.

examplePlot2 :: IO ()Source

An example of the use of postscript and psFile. See the source code.

plotXYCurve :: Curve -> IO ()Source

Plot a Curve in the xy plane using Gnuplot