/usr/share/doc/mlpost/html/Mlpost.Plot.html is in libmlpost-ocaml-doc 0.8.1-8build1.
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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="Start" href="index.html">
<link rel="previous" href="Mlpost.Diag.html">
<link rel="next" href="Mlpost.Real_plot.html">
<link rel="Up" href="Mlpost.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of class attributes" rel=Appendix href="index_attributes.html">
<link title="Index of class methods" rel=Appendix href="index_methods.html">
<link title="Index of classes" rel=Appendix href="index_classes.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="Mlpost" rel="Chapter" href="Mlpost.html">
<link title="Mlpost_dot" rel="Chapter" href="Mlpost_dot.html">
<link title="Mlpost_lablgtk" rel="Chapter" href="Mlpost_lablgtk.html"><title>Mlpost.Plot</title>
</head>
<body>
<div class="navbar"><a class="pre" href="Mlpost.Diag.html" title="Mlpost.Diag">Previous</a>
<a class="up" href="Mlpost.html" title="Mlpost">Up</a>
<a class="post" href="Mlpost.Real_plot.html" title="Mlpost.Real_plot">Next</a>
</div>
<h1>Module <a href="type_Mlpost.Plot.html">Mlpost.Plot</a></h1>
<pre><span class="keyword">module</span> Plot: <code class="code">sig</code> <a href="Mlpost.Plot.html">..</a> <code class="code">end</code></pre><div class="info module top">
A simple and limited way of plotting functions from int to int.<br>
</div>
<hr width="100%">
<br>
Plots.<br>
<br>
This module helps drawing grids and plotting functions.<br>
<pre><span id="TYPEskeleton"><span class="keyword">type</span> <code class="type"></code>skeleton</span> </pre>
<div class="info ">
The abstract skeleton for grids, axes and functions<br>
</div>
<pre><span id="VALmk_skeleton"><span class="keyword">val</span> mk_skeleton</span> : <code class="type">int -> int -> <a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Plot.html#TYPEskeleton">skeleton</a></code></pre><div class="info ">
<code class="code">mk_skeleton w h dx dy</code> builds a skeleton of width <code class="code">w</code> and height <code class="code">h</code>,
each cell being <code class="code">dx</code> units wide and <code class="code">dy</code> units high.<br>
</div>
<pre><span id="TYPElabels"><span class="keyword">type</span> <code class="type"></code>labels</span> = <code class="type">int -> <a href="Mlpost.Num.html#TYPEt">Num.t</a> -> <a href="Mlpost.Picture.html#TYPEt">Picture.t</a> option</code> </pre>
<pre><span id="TYPEticks"><span class="keyword">type</span> <code class="type"></code>ticks</span> = <code class="type">(<a href="Mlpost.Num.html#TYPEt">Num.t</a> * Pen.t) option</code> </pre>
<pre><code><span id="TYPEdrawing"><span class="keyword">type</span> <code class="type"></code>drawing</span> = </code></pre><table class="typetable">
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTdrawing.Stepwise"><span class="constructor">Stepwise</span></span></code></td>
</tr>
<tr>
<td align="left" valign="top" >
<code><span class="keyword">|</span></code></td>
<td align="left" valign="top" >
<code><span id="TYPEELTdrawing.Normal"><span class="constructor">Normal</span></span></code></td>
</tr></table>
<pre><span id="VALdraw_grid"><span class="keyword">val</span> draw_grid</span> : <code class="type">?hdash:(int -> Dash.t) -><br> ?vdash:(int -> Dash.t) -><br> ?hpen:(int -> Pen.t) -><br> ?vpen:(int -> Pen.t) -><br> ?color:<a href="Mlpost.Color.html#TYPEt">Color.t</a> -> <a href="Mlpost.Plot.html#TYPEskeleton">skeleton</a> -> <a href="Mlpost.Command.html#TYPEt">Command.t</a></code></pre>
<pre><span id="VALdraw_axes"><span class="keyword">val</span> draw_axes</span> : <code class="type">?hpen:Pen.t -><br> ?vpen:Pen.t -><br> ?hlabel:<a href="Mlpost.Plot.html#TYPElabels">labels</a> -><br> ?vlabel:<a href="Mlpost.Plot.html#TYPElabels">labels</a> -><br> ?ticks:<a href="Mlpost.Plot.html#TYPEticks">ticks</a> -><br> ?closed:bool -><br> ?hcaption:<a href="Mlpost.Picture.html#TYPEt">Picture.t</a> -><br> ?vcaption:<a href="Mlpost.Picture.html#TYPEt">Picture.t</a> -> <a href="Mlpost.Plot.html#TYPEskeleton">skeleton</a> -> <a href="Mlpost.Command.html#TYPEt">Command.t</a></code></pre>
<pre><span id="VALdraw_simple_axes"><span class="keyword">val</span> draw_simple_axes</span> : <code class="type">?hpen:Pen.t -><br> ?vpen:Pen.t -><br> string -> string -> <a href="Mlpost.Plot.html#TYPEskeleton">skeleton</a> -> <a href="Mlpost.Command.html#TYPEt">Command.t</a></code></pre>
<pre><span id="VALdraw_func"><span class="keyword">val</span> draw_func</span> : <code class="type">?pen:Pen.t -><br> ?drawing:<a href="Mlpost.Plot.html#TYPEdrawing">drawing</a> -><br> ?style:<a href="Mlpost.Path.html#TYPEjoint">Path.joint</a> -><br> ?dashed:Dash.t -><br> ?color:<a href="Mlpost.Color.html#TYPEt">Color.t</a> -><br> ?label:<a href="Mlpost.Picture.html#TYPEt">Picture.t</a> * <a href="Mlpost.Command.html#TYPEposition">Command.position</a> * int -><br> ?from_x:int -><br> ?to_x:int -> (int -> float) -> <a href="Mlpost.Plot.html#TYPEskeleton">skeleton</a> -> <a href="Mlpost.Command.html#TYPEt">Command.t</a></code></pre></body></html>
|