Module Archimedes.Tics


module Tics: sig .. end
Tics position and labels.


type labels =
| No_label
| Text of (string * float) array
| Number of int
| Expnumber of float
| Expnumber_named of float * string
| Custom of (float -> string)

type t =
| Fixed of labels * float list
| Fixed_norm of labels * float list
| Equidistants of labels * float * float * int
| Auto of labels

type tic =
| Major of string * float
| Minor of float
val tics : ?log:bool -> float -> float -> t -> tic list
tics xmin xmax spec return a description of the tics for the interval xmin .. xmax according to the specification spec.
log : whether log scales are desired. Default: false.