package archimedes

  1. Overview
  2. Docs

Tics position and labels.

type labels =
  1. | No_label
    (*

    No_label just draw a vertical bar without any text

    *)
  2. | Text of (string * float) array
    (*

    Not yet implemented

    *)
  3. | Number of int
    (*

    Number n draw number labels using n digits

    *)
  4. | Expnumber of float
    (*

    Not yet implemented

    *)
  5. | Expnumber_named of float * string
    (*

    Not yet implemented

    *)
  6. | Custom of float -> string
    (*

    Custom f for labeling with a function f

    *)
type t =
  1. | Fixed of labels * float list
    (*

    Archimedes.Tics.Fixed (label, tics) draws major tics at values specified by the tics list and labels them using label.

    *)
  2. | Fixed_norm of labels * float list
    (*

    Not Yet implemented

    *)
  3. | Equidistants of labels * float * float * int
    (*

    Archimedes.Tics.Equidistants (label, start, step, n) draws Major Tics from start equidistants of step along the axe and with n Minor Tics between each of them and the labels defined with label

    *)
  4. | Auto of labels
    (*

    Archimedes.Tics.Auto label draws Major Tics to fit the axe and the label automaticaly

    *)
OCaml

Innovation. Community. Security.