Plot Module
type
legend_item
=
{
mutable plot_type :
legend_typ; |
mutable line_style
: int; |
mutable line_color
: int * int * int; |
mutable marker :
string; |
mutable
marker_color : int * int * int; |
mutable
fill_pattern : int; |
mutable fill_color
: int * int * int; |
}
type
page
=
{
mutable title :
string; |
mutable fgcolor :
int * int * int; |
mutable fontsize :
float; |
mutable is_3d :
bool; |
mutable no_axes :
bool; |
mutable xlabel :
string; |
mutable ylabel :
string; |
mutable zlabel :
string; |
mutable xrange :
float * float; |
mutable yrange :
float * float; |
mutable zrange :
float * float; |
mutable auto_xrange
: bool; |
mutable auto_yrange
: bool; |
mutable auto_zrange
: bool; |
mutable xticklabels
: (float * string) list; |
mutable yticklabels
: (float * string) list; |
mutable zticklabels
: (float * string) list; |
mutable xlogscale :
bool; |
mutable ylogscale :
bool; |
mutable xgrid :
bool; |
mutable ygrid :
bool; |
mutable zgrid :
bool; |
mutable altitude :
float; |
mutable azimuth :
float; |
mutable legend :
bool; |
mutable
legend_position : legend_position; |
mutable
legend_items : legend_item array; |
mutable
legend_names : string array; |
mutable plots :
(unit ‑> unit) array; |
}
type
handle
=
{
mutable holdon :
bool; |
mutable output :
string; |
mutable bgcolor :
int * int * int; |
mutable pensize :
float; |
mutable page_size :
int * int; |
mutable shape : int
* int; |
mutable pages :
page array; |
mutable
current_page : int; |
}
val
_get_rgb : spec list
‑> (int * int * int)
‑> int * int *
int
val
_get_line_style : spec list
‑> int ‑> int
val
_get_line_width : spec list
‑> float ‑> float
val
_get_marker : spec list
‑> string ‑> string
val
_get_marker_size : spec list
‑> float ‑> float
val
_get_fill : spec list
‑> bool ‑> bool
val
_get_fill_pattern : spec list
‑> int ‑> int
val
_get_contour : spec list
‑> bool ‑> bool
val
_get_altitude : spec list
‑> float ‑> float
val
_get_azimuth : spec list
‑> float ‑> float
val
_get_zline : spec list
‑> Plplot.plplot3d_style_enum
‑>
Plplot.plplot3d_style_enum
val
_get_mag_color : spec list
‑> bool ‑> bool
val
_get_curtain : spec list
‑> bool ‑> bool
val
_get_faceted : spec list
‑> bool ‑> bool
val
_create_page : unit ‑> page
val
_create_handle : unit ‑> handle
val create
: ?m:int ‑> ?n:int ‑> string ‑>
handle
val
new_page : handle ‑> unit
val
_default_handle : handle
val
_set_device : handle
‑> unit
val
_add_legend_item : page
‑> legend_typ ‑> int ‑> (int
* int *
int) ‑> string ‑> (int * int
* int) ‑> int ‑> (int
* int *
int) ‑> unit
val
_plplot_position : legend_position ‑> Plplot.plplot_position_enum
list
val
_draw_legend : page ‑> unit
val
_config_2d_axis : page
‑> int
val
_initialise : handle
‑> unit
val
_draw_ticklabels : page
‑> Plplot.plplot_axis_type
‑> float ‑> string
val
_prepare_page : page
‑> unit
val output
: handle ‑> unit
val
set_output : handle
‑> string ‑> unit
val
set_title : handle
‑> string ‑> unit
val
set_xlabel : handle
‑> string ‑> unit
val
set_ylabel : handle
‑> string ‑> unit
val
set_zlabel : handle
‑> string ‑> unit
val
set_xrange : handle
‑> float ‑> float ‑>
unit
val
set_yrange : handle
‑> float ‑> float ‑>
unit
val
set_zrange : handle
‑> float ‑> float ‑>
unit
val
set_xticklabels : handle
‑> (float * string) list ‑>
unit
val
set_yticklabels : handle
‑> (float * string) list ‑>
unit
val
set_zticklabels : handle
‑> (float * string) list ‑>
unit
val
set_foreground_color : handle
‑> int ‑> int ‑> int
‑> unit
val
set_background_color : handle
‑> int ‑> int ‑> int
‑> unit
val
set_font_size : handle
‑> float ‑> unit
val
set_pen_size : handle
‑> float ‑> unit
val
set_page_size : handle
‑> int ‑> int ‑>
unit
val
legend_on : handle
‑> ?position:legend_position ‑> string array ‑> unit
val
legend_off : handle
‑> unit
val subplot
: handle ‑> int ‑> int
‑> unit
val heatmap
: ?h:handle ‑> Owl_dense_matrix.D.mat ‑> Owl_dense_matrix.D.mat ‑> Owl_dense_matrix.D.mat ‑> unit
val contour
: ?h:handle ‑> Owl_dense_matrix.D.mat ‑> Owl_dense_matrix.D.mat ‑> Owl_dense_matrix.D.mat ‑> unit
val
_draw_extended_line : float ‑>
float ‑> float ‑> float ‑>
float ‑> float ‑> float ‑>
float ‑> unit
val image :
?h:handle ‑> Owl_dense_matrix.D.mat ‑> unit
val
image_boundary : handle
‑> 'a
‑> 'b
‑> float ‑> float ‑>
'c ‑>
'd ‑>
unit
val
image_set_page_size : handle
‑> 'a
‑> 'b
‑> float ‑> float ‑>
'c ‑>
'd ‑>
unit
val
remove_axes : handle
‑> unit
val
image_remove_axes : 'a ‑> page
‑> 'b
‑> 'c
‑> 'd
‑> 'e
‑> 'f
‑> unit
val
set_cmap : ?masked:float ‑>
?alpha:float ‑> ?num_col:int
‑> (float * (float * float
* float)) list ‑> 'a
‑> 'b
‑> 'c
‑> 'd
‑> 'e
‑> 'f
‑> unit
val
gjs_image : h:handle
‑> ?preplot_options:(handle ‑> page
‑> Owl_dense_matrix.D.elt array
array ‑> float ‑> float ‑>
Owl_dense_matrix.D.elt ‑>
Owl_dense_matrix.D.elt ‑> unit)
list ‑> ?plot_options:(page ‑>
Owl_dense_matrix.D.elt array array ‑> float ‑>
float ‑> Owl_dense_matrix.D.elt
‑> Owl_dense_matrix.D.elt
‑> unit) list ‑> Owl_dense_matrix.D.mat ‑> unit
val
add_plplot : h:handle
‑> (unit ‑> unit) ‑>
unit