Module Mlpost__Plot

type skeleton = {
width : int;
height : int;
stepx : Mlpost.Num.t;
stepy : Mlpost.Num.t;
}
val mk_skeleton : int -> int -> Mlpost.Num.t -> Mlpost.Num.t -> skeleton
type labels = int -> Mlpost.Num.t -> Mlpost.Picture.t option
type ticks = (Mlpost.Num.t * Mlpost.Pen.t) option
val get_style : ('a -> Mlpost__.Types.dash * Mlpost__.Types.pen) option -> 'a -> Mlpost__.Types.dash * Mlpost__.Types.pen
val off_pattern : 'a -> Mlpost__.Types.dash
val defpen : 'a -> Mlpost__.Types.pen
val get_borders : float -> float -> int -> int -> float * float * float * float
val draw_grid : ?⁠hdash:(int -> Mlpost__.Types.dash) -> ?⁠vdash:(int -> Mlpost__.Types.dash) -> ?⁠hpen:(int -> Mlpost__.Types.pen) -> ?⁠vpen:(int -> Mlpost__.Types.pen) -> ?⁠color:Mlpost__.Types.color -> skeleton -> Mlpost__.Types.commandpic
val label_scale : float -> float
val deflabel : int -> float -> Mlpost__.Types.commandpic option
val defticks : (float * Mlpost__.Types.pen) option
val get_corners : 'a -> 'b -> (float * 'a) * ('b * 'a) * (float * float) * ('b * float)
val draw_axes : ?⁠hpen:Mlpost__.Types.pen -> ?⁠vpen:Mlpost__.Types.pen -> ?⁠hlabel:(int -> Mlpost.Num.t -> Mlpost__.Types.commandpic option) -> ?⁠vlabel:(int -> Mlpost.Num.t -> Mlpost__.Types.commandpic option) -> ?⁠ticks:(float * Mlpost__.Types.pen) option -> ?⁠closed:bool -> ?⁠hcaption:Mlpost__.Types.commandpic -> ?⁠vcaption:Mlpost__.Types.commandpic -> skeleton -> Mlpost__.Types.commandpic
val draw_simple_axes : ?⁠hpen:Mlpost__.Types.pen -> ?⁠vpen:Mlpost__.Types.pen -> string -> string -> skeleton -> Mlpost__.Types.commandpic
type drawing =
| Stepwise
| Normal
val draw_func : ?⁠pen:Mlpost__.Types.pen -> ?⁠drawing:drawing -> ?⁠style:Mlpost__.Types.joint -> ?⁠dashed:Mlpost__.Types.dash -> ?⁠color:Mlpost__.Types.color -> ?⁠label:(Mlpost__.Types.commandpic * Mlpost__.Types.position * int) -> ?⁠from_x:int -> ?⁠to_x:int -> (int -> float) -> skeleton -> Mlpost__.Types.commandpic