module Grace:High-level interface to the Grace 2D plotting program.sig..end
typelayout_t =[ `Landscape | `Portrait | `Size of int * int ]
Use of `Landscape or `Portrait will choose appropriate dimensions
for printing on the given orientation of letter-sized paper. `Size (w, h)
may be used to select a specific dimension (in pixels).
typelabel_t =[ `Subtitle | `Title | `XAxis | `YAxis ]
type'aauto_option_t =[ `Auto | `Manual of 'a | `None ]
typelinestyle_t =int array auto_option_t
Use of `Manual a will cause the nth dataset to be rendered
with linestyle a.(n). Use of `Auto will cause the datasets to be
rendered using automatically-selected linestyles. Use of `None will
cause no lines to be drawn for any dataset.
typesymbol_t =int array auto_option_t
Use of `Manual s will cause the nth dataset to be rendered
using symbol s.(n). Use of `Auto will cause the datasets to be
rendered using automatically-selected symbols. Use of `None will cause
the datasets to be rendered using no symbols.
typegrid_t =[ `Major | `Minor | `None ]
Use of `Major will cause gridlines to be drawn at major tickmarks.
Use of `Minor will cause gridlines to be drawn at major and minor
tickmarks. Use of `None will cause no gridlines to be drawn.
typetick_t =[ `Auto | `None | `Number of int * int | `Spacing of float * int | `Unchanged ]
Use of `Unchanged will leave the current setting unchanged. `Auto will
lay out tickmarks using a sensible default. `Spacing (sp, n) will place
the major tickmarks sp apart, and the minor tickmarks will divide each
major space by n. `Number (n1, n2) will place major tickmarks to
approximately divide the range by n1, and again the minor tickmarks will
divide each major space by n2. `None will remove all tickmarks from
an axis.
typedriver_t =[ `EPS of string
| `JPEG of string
| `MF of string
| `MIF of string
| `PNG of string
| `PNM of string
| `PS of string
| `SVG of string ]
class grace_view :?debug:bool -> ?layout:layout_t -> unit ->object..end
val linspace : float -> float -> int -> float arraylinspace min max n creates an array of size n whose elements
range linearly between min and max, inclusive.val logspace : float -> float -> int -> float arraylogspace b1 b2 n creates an array of size n whose elements
range logarithmically between 10.0 ** b1 and 10.0 ** b2,
inclusive.