Mlpost.Plot
A simple and limited way of plotting functions from int to int.
Plots.
This module helps drawing grids and plotting functions.
mk_skeleton w h dx dy
builds a skeleton of width w
and height h
, each cell being dx
units wide and dy
units high.
val draw_func :
?pen:Pen.t ->
?drawing:drawing ->
?style:Path.joint ->
?dashed:Dash.t ->
?color:Color.t ->
?label:(Picture.t * Command.position * int) ->
?from_x:int ->
?to_x:int ->
(int -> float) ->
skeleton ->
Command.t