This file is indexed.

/usr/share/doc/libghc-chart-doc/html/Graphics-Rendering-Chart-Simple.html is in libghc-chart-doc 0.16-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Graphics.Rendering.Chart.Simple</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Graphics-Rendering-Chart-Simple.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-Rendering-Chart-Simple.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">Chart-0.16: A library for generating 2D Charts and Plots</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">Graphics.Rendering.Chart.Simple</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>An even simpler framework for creating 2D charts in Haskell.
</p><p>The basic idea is to make it as easy to plot as octave, which means that
 you provide no more information than you wish to provide.  We provide
 four plotting functions, which differ only in their output.  One
 produces a <a href="Layout1.html">Layout1</a> that you can customize using other
 Graphics.Rendering.Chart functions.  The other three produce their
 output directly.  All three accept the same input and produce the same plots.
</p><p>The plot functions accept a variable number of arguments.  You must
 provide a [Double] which defines the points on the x axis, which must
 precede any of the <a href="y.html">y</a> values.  The y values may either be [Double] or
 functions.  After any given y value, you can give either Strings or
 PlotKinds describing how you'd like that y printed.
</p><p>Examples:
</p><pre> plotPDF &quot;foo.pdf&quot; [0,0.1..10] sin &quot;- &quot; cos &quot;. &quot; cos &quot;o&quot;
</pre><pre> plotPS &quot;foo.ps&quot; [0,0.1..10] (sin . exp) &quot;- &quot; (sin . exp) &quot;o-&quot;
</pre></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:plot">plot</a> :: <a href="Graphics-Rendering-Chart-Simple-Internal.html#t:PlotType">PlotType</a> a =&gt; a</li><li class="src short"><span class="keyword">data</span>  <a href="#t:PlotKind">PlotKind</a> <ul class="subs"><li>= <a href="#v:Name">Name</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a>  </li><li>| <a href="#v:FilledCircle">FilledCircle</a>  </li><li>| <a href="#v:HollowCircle">HollowCircle</a>  </li><li>| <a href="#v:Triangle">Triangle</a>  </li><li>| <a href="#v:DownTriangle">DownTriangle</a>  </li><li>| <a href="#v:Square">Square</a>  </li><li>| <a href="#v:Diamond">Diamond</a>  </li><li>| <a href="#v:Plus">Plus</a>  </li><li>| <a href="#v:Ex">Ex</a>  </li><li>| <a href="#v:Star">Star</a>  </li><li>| <a href="#v:Symbols">Symbols</a>  </li><li>| <a href="#v:LittleDot">LittleDot</a>  </li><li>| <a href="#v:Dashed">Dashed</a>  </li><li>| <a href="#v:Dotted">Dotted</a>  </li><li>| <a href="#v:Solid">Solid</a>  </li></ul></li><li class="src short"><a href="#v:xcoords">xcoords</a> :: [<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Double">Double</a>] -&gt; <a href="Graphics-Rendering-Chart-Simple-Internal.html#t:UPlot">UPlot</a></li><li class="src short"><a href="#v:plotPDF">plotPDF</a> :: <a href="Graphics-Rendering-Chart-Simple-Internal.html#t:PlotPDFType">PlotPDFType</a> a =&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; a</li><li class="src short"><a href="#v:plotPS">plotPS</a> :: <a href="Graphics-Rendering-Chart-Simple-Internal.html#t:PlotPSType">PlotPSType</a> a =&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; a</li><li class="src short"><a href="#v:plotLayout">plotLayout</a> :: <a href="Graphics-Rendering-Chart-Simple.html#t:Layout1DDD">Layout1DDD</a> -&gt; <a href="Graphics-Rendering-Chart-Layout.html#t:Layout1">Layout1</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Double">Double</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Double">Double</a></li><li class="src short"><a href="#v:plotPNG">plotPNG</a> :: <a href="Graphics-Rendering-Chart-Simple-Internal.html#t:PlotPNGType">PlotPNGType</a> a =&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; a</li><li class="src short"><span class="keyword">data</span>  <a href="#t:Layout1DDD">Layout1DDD</a> </li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:plot" class="def">plot</a> :: <a href="Graphics-Rendering-Chart-Simple-Internal.html#t:PlotType">PlotType</a> a =&gt; a<a href="src/Graphics-Rendering-Chart-Simple-Internal.html#plot" class="link">Source</a></p><div class="doc"><p>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].
</p></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:PlotKind" class="def">PlotKind</a>  <a href="src/Graphics-Rendering-Chart-Simple-Internal.html#PlotKind" class="link">Source</a></p><div class="doc"><p>Type to define a few simple properties of each plot.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:Name" class="def">Name</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:FilledCircle" class="def">FilledCircle</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:HollowCircle" class="def">HollowCircle</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Triangle" class="def">Triangle</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:DownTriangle" class="def">DownTriangle</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Square" class="def">Square</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Diamond" class="def">Diamond</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Plus" class="def">Plus</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Ex" class="def">Ex</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Star" class="def">Star</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Symbols" class="def">Symbols</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:LittleDot" class="def">LittleDot</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Dashed" class="def">Dashed</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Dotted" class="def">Dotted</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a name="v:Solid" class="def">Solid</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="subs instances"><p id="control.i:PlotKind" class="caption collapser" onclick="toggleSection('i:PlotKind')">Instances</p><div id="section.i:PlotKind" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-Rendering-Chart-Simple.html#t:PlotKind">PlotKind</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-Rendering-Chart-Simple.html#t:PlotKind">PlotKind</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> <a href="Graphics-Rendering-Chart-Simple.html#t:PlotKind">PlotKind</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-Rendering-Chart-Simple-Internal.html#t:IsPlot">IsPlot</a> <a href="Graphics-Rendering-Chart-Simple.html#t:PlotKind">PlotKind</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-Rendering-Chart-Simple-Internal.html#t:PlotArg">PlotArg</a> <a href="Graphics-Rendering-Chart-Simple.html#t:PlotKind">PlotKind</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:xcoords" class="def">xcoords</a> :: [<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Double">Double</a>] -&gt; <a href="Graphics-Rendering-Chart-Simple-Internal.html#t:UPlot">UPlot</a><a href="src/Graphics-Rendering-Chart-Simple-Internal.html#xcoords" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:plotPDF" class="def">plotPDF</a> :: <a href="Graphics-Rendering-Chart-Simple-Internal.html#t:PlotPDFType">PlotPDFType</a> a =&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; a<a href="src/Graphics-Rendering-Chart-Simple-Internal.html#plotPDF" class="link">Source</a></p><div class="doc"><p>Save a plot as a PDF file.
</p></div></div><div class="top"><p class="src"><a name="v:plotPS" class="def">plotPS</a> :: <a href="Graphics-Rendering-Chart-Simple-Internal.html#t:PlotPSType">PlotPSType</a> a =&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; a<a href="src/Graphics-Rendering-Chart-Simple-Internal.html#plotPS" class="link">Source</a></p><div class="doc"><p>Save a plot as a postscript file.
</p></div></div><div class="top"><p class="src"><a name="v:plotLayout" class="def">plotLayout</a> :: <a href="Graphics-Rendering-Chart-Simple.html#t:Layout1DDD">Layout1DDD</a> -&gt; <a href="Graphics-Rendering-Chart-Layout.html#t:Layout1">Layout1</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Double">Double</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Prelude.html#t:Double">Double</a><a href="src/Graphics-Rendering-Chart-Simple-Internal.html#plotLayout" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:plotPNG" class="def">plotPNG</a> :: <a href="Graphics-Rendering-Chart-Simple-Internal.html#t:PlotPNGType">PlotPNGType</a> a =&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; a<a href="src/Graphics-Rendering-Chart-Simple-Internal.html#plotPNG" class="link">Source</a></p><div class="doc"><p>Save a plot as a png file.
</p></div></div><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:Layout1DDD" class="def">Layout1DDD</a>  <a href="src/Graphics-Rendering-Chart-Simple-Internal.html#Layout1DDD" class="link">Source</a></p><div class="subs instances"><p id="control.i:Layout1DDD" class="caption collapser" onclick="toggleSection('i:Layout1DDD')">Instances</p><div id="section.i:Layout1DDD" class="show"><table><tr><td class="src"><a href="Graphics-Rendering-Chart-Renderable.html#t:ToRenderable">ToRenderable</a> <a href="Graphics-Rendering-Chart-Simple.html#t:Layout1DDD">Layout1DDD</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-Rendering-Chart-Simple-Internal.html#t:PlotType">PlotType</a> <a href="Graphics-Rendering-Chart-Simple.html#t:Layout1DDD">Layout1DDD</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.13.2</p></div></body></html>