learn-physics-0.6.5: Haskell code for learning physics

Copyright(c) Scott N. Walck 2011-2014
LicenseBSD3 (see LICENSE)
MaintainerScott N. Walck <walck@lvc.edu>
Stabilityexperimental
Safe HaskellSafe
LanguageHaskell98

Physics.Learn.Visual.PlotTools

Description

This module contains helping functions for using Gnuplot.

Synopsis

Documentation

label :: String -> (Double, Double) -> Attribute Source #

An Attribute with a given label at a given position.

postscript :: Attribute Source #

An Attribute that requests postscript output.

psFile :: FilePath -> Attribute Source #

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