3#ifndef _CAMLIDL_PLPLOT_CORE_H
4#define _CAMLIDL_PLPLOT_CORE_H
7#define _CAMLIDL_EXTERN_C extern "C"
9#define _CAMLIDL_EXTERN_C extern
151_CAMLIDL_EXTERN_C void c_plaxes(
double x0,
double y0,
char const *xopt,
double xtick,
int nxsub,
char const *yopt,
double ytick,
int nysub);
161_CAMLIDL_EXTERN_C void c_plbox3(
char const *xopt,
char const *xlabel,
double xtick,
int nxsub,
char const *yopt,
char const *ylabel,
double ytick,
int nysub,
char const *zopt,
char const *zlabel,
double ztick,
int nzsub);
171_CAMLIDL_EXTERN_C void c_plconfigtime(
double scale,
double offset1,
double offset2,
int ccontrol,
int ifbtime_offset,
int year,
int month,
int day,
int hour,
int min,
double sec);
291_CAMLIDL_EXTERN_C void c_plot3dcl(
double *x,
double *y,
double **z,
int nx,
int ny,
plplot3d_style opt,
double *clevel,
int nlevel,
int indexxmin,
int indexxmax,
int *indexymin,
int *indexymax);
307_CAMLIDL_EXTERN_C void c_plptex3(
double wx,
double wy,
double wz,
double dx,
double dy,
double dz,
double sx,
double sy,
double sz,
double just,
char const *text);
329_CAMLIDL_EXTERN_C void c_plscmap1la(
int itype,
int npts,
double *intensity,
double *coord1,
double *coord2,
double *coord3,
double *alpha,
int *alt_hue_path);
405_CAMLIDL_EXTERN_C void c_plimage(
double **idata,
int nx,
int ny,
double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax,
double Dxmin,
double Dxmax,
double Dymin,
double Dymax);
411_CAMLIDL_EXTERN_C void c_plsurf3dl(
double *x,
double *y,
double **z,
int nx,
int ny,
plplot3d_style opt,
double *clevel,
int nlevel,
int indexxmin,
int indexxmax,
int *indexymin,
int *indexymax);
439_CAMLIDL_EXTERN_C void c_plw3d(
double basex,
double basey,
double height,
double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax,
double alt,
double az);
453_CAMLIDL_EXTERN_C void ml_plshade(
double **a,
int nx,
int ny,
double left,
double right,
double bottom,
double top,
double shade_min,
double shade_max,
int sh_cmap,
double sh_color,
double sh_width,
int min_color,
double min_width,
int max_color,
double max_width,
int rectangular);
455_CAMLIDL_EXTERN_C void ml_plshades(
double **a,
int nx,
int ny,
double xmin,
double xmax,
double ymin,
double ymax,
double *clevel,
int nlevel,
double fill_width,
int cont_color,
double cont_width,
int rectangular);
457_CAMLIDL_EXTERN_C void ml_plimagefr(
double **idata,
int nx,
int ny,
double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax,
double valuemin,
double valuemax);
467_CAMLIDL_EXTERN_C void ml_plmaptex(
char const *name,
double dx,
double dy,
double just,
char const *text,
double minx,
double maxx,
double miny,
double maxy,
int plotentry);
void ml_plshade(const PLFLT **a, PLINT nx, PLINT ny, PLFLT left, PLFLT right, PLFLT bottom, PLFLT top, PLFLT shade_min, PLFLT shade_max, PLINT sh_cmap, PLFLT sh_color, PLFLT sh_width, PLINT min_color, PLFLT min_width, PLINT max_color, PLFLT max_width, PLBOOL rectangular)
void ml_plshades(const PLFLT **a, PLINT nx, PLINT ny, PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLFLT *clevel, PLINT nlevel, PLFLT fill_width, PLINT cont_color, PLFLT cont_width, PLBOOL rectangular)
void plplot_check_nonzero_result(int result)
void ml_plvect(const PLFLT **u, const PLFLT **v, PLINT nx, PLINT ny, PLFLT scale)
void ml_plmapfill(PLCHAR_VECTOR name, PLFLT minx, PLFLT maxx, PLFLT miny, PLFLT maxy, PLINT_VECTOR plotentries, PLINT nplotentries)
void ml_plpoly3(PLINT n, PLFLT *x, PLFLT *y, PLFLT *z, PLINT ndraw, PLBOOL *draw, PLBOOL ifcc)
void ml_plcont(const PLFLT **f, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky, PLINT ly, PLFLT *clevel, PLINT nlevel)
void ml_pltr0(double x, double y, double *tx, double *ty)
void ml_plmeridians(PLFLT dlong, PLFLT dlat, PLFLT minlong, PLFLT maxlong, PLFLT minlat, PLFLT maxlat)
void ml_plimagefr(const PLFLT **idata, PLINT nx, PLINT ny, PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLFLT zmin, PLFLT zmax, PLFLT valuemin, PLFLT valuemax)
int plg_current_col0(void)
void ml_plmapline(PLCHAR_VECTOR name, PLFLT minx, PLFLT maxx, PLFLT miny, PLFLT maxy, PLINT_VECTOR plotentries, PLINT nplotentries)
void ml_plmaptex(PLCHAR_VECTOR name, PLFLT dx, PLFLT dy, PLFLT just, PLCHAR_VECTOR text, PLFLT minx, PLFLT maxx, PLFLT miny, PLFLT maxy, PLINT plotentry)
void ml_plmap(PLCHAR_VECTOR name, PLFLT minx, PLFLT maxx, PLFLT miny, PLFLT maxy)
PLFLT plg_current_col1(void)
void ml_plmapstring(PLCHAR_VECTOR name, PLCHAR_VECTOR string, PLFLT minx, PLFLT maxx, PLFLT miny, PLFLT maxy, PLINT_VECTOR plotentries, PLINT nplotentries)
void c_plarc(PLFLT x, PLFLT y, PLFLT a, PLFLT b, PLFLT angle1, PLFLT angle2, PLFLT rotate, PLBOOL fill)
PLINT c_plsetopt(PLCHAR_VECTOR opt, PLCHAR_VECTOR opt_arg)
void c_plbox(PLCHAR_VECTOR xopt, PLFLT xtick, PLINT nxsub, PLCHAR_VECTOR yopt, PLFLT ytick, PLINT nysub)
void c_plbox3(PLCHAR_VECTOR xopt, PLCHAR_VECTOR xlabel, PLFLT xtick, PLINT nxsub, PLCHAR_VECTOR yopt, PLCHAR_VECTOR ylabel, PLFLT ytick, PLINT nysub, PLCHAR_VECTOR zopt, PLCHAR_VECTOR zlabel, PLFLT ztick, PLINT nzsub)
void c_plaxes(PLFLT x0, PLFLT y0, PLCHAR_VECTOR xopt, PLFLT xtick, PLINT nxsub, PLCHAR_VECTOR yopt, PLFLT ytick, PLINT nysub)
void c_pl_setcontlabelparam(PLFLT offset, PLFLT size, PLFLT spacing, PLINT active)
void c_pl_setcontlabelformat(PLINT lexp, PLINT sigdig)
void c_plglevel(PLINT *p_level)
void c_plgdidev(PLFLT *p_mar, PLFLT *p_aspect, PLFLT *p_jx, PLFLT *p_jy)
void c_plscompression(PLINT compression)
void c_plsfam(PLINT fam, PLINT num, PLINT bmax)
void c_plgver(char *p_ver)
void c_plstart(PLCHAR_VECTOR devname, PLINT nx, PLINT ny)
void c_plszax(PLINT digmax, PLINT digits)
void c_plsdidev(PLFLT mar, PLFLT aspect, PLFLT jx, PLFLT jy)
void c_plsdiplt(PLFLT xmin, PLFLT ymin, PLFLT xmax, PLFLT ymax)
void c_plstar(PLINT nx, PLINT ny)
void c_plssub(PLINT nx, PLINT ny)
void c_plsdimap(PLINT dimxmin, PLINT dimxmax, PLINT dimymin, PLINT dimymax, PLFLT dimxpmm, PLFLT dimypmm)
void c_plgchr(PLFLT *p_def, PLFLT *p_ht)
void c_plgvpw(PLFLT *p_xmin, PLFLT *p_xmax, PLFLT *p_ymin, PLFLT *p_ymax)
void plsxwin(PLINT window_id)
void c_plgzax(PLINT *p_digmax, PLINT *p_digits)
void c_plgdev(char *p_dev)
void c_plgfnam(char *fnam)
void c_plgfam(PLINT *p_fam, PLINT *p_num, PLINT *p_bmax)
void c_plwidth(PLFLT width)
void c_plgxax(PLINT *p_digmax, PLINT *p_digits)
void c_plcpstrm(PLINT iplsr, PLINT flags)
void c_plgfci(PLUNICODE *p_fci)
void c_plgcompression(PLINT *compression)
void c_plsstrm(PLINT strm)
void c_plgstrm(PLINT *p_strm)
void c_plsyax(PLINT digmax, PLINT digits)
void c_plprec(PLINT setp, PLINT prec)
void c_plgdiplt(PLFLT *p_xmin, PLFLT *p_ymin, PLFLT *p_xmax, PLFLT *p_ymax)
void c_plsfci(PLUNICODE fci)
void c_plsxax(PLINT digmax, PLINT digits)
void c_plsdiori(PLFLT rot)
void c_plspage(PLFLT xp, PLFLT yp, PLINT xleng, PLINT yleng, PLINT xoff, PLINT yoff)
void c_plmkstrm(PLINT *p_strm)
void c_plgpage(PLFLT *p_xp, PLFLT *p_yp, PLINT *p_xleng, PLINT *p_yleng, PLINT *p_xoff, PLINT *p_yoff)
void c_plfontld(PLINT ifont)
void c_plgyax(PLINT *p_digmax, PLINT *p_digits)
void c_plsdiplz(PLFLT xmin, PLFLT ymin, PLFLT xmax, PLFLT ymax)
void c_plsdev(PLCHAR_VECTOR devname)
void c_plsfnam(PLCHAR_VECTOR fnam)
void c_plgvpd(PLFLT *p_xmin, PLFLT *p_xmax, PLFLT *p_ymin, PLFLT *p_ymax)
void c_plgdiori(PLFLT *p_rot)
void c_plscmap1la(PLINT itype, PLINT npts, PLFLT_VECTOR intensity, PLFLT_VECTOR coord1, PLFLT_VECTOR coord2, PLFLT_VECTOR coord3, PLFLT_VECTOR alpha, PLINT_VECTOR alt_hue_path)
void c_plgcolbga(PLINT *r, PLINT *g, PLINT *b, PLFLT *alpha)
void c_plgcmap1_range(PLFLT *min_color, PLFLT *max_color)
void c_plxormod(PLINT mode, PLINT *status)
void c_plgcol0(PLINT icol0, PLINT *r, PLINT *g, PLINT *b)
void c_plspal1(PLCHAR_VECTOR filename, PLBOOL interpolate)
PLINT c_plgdrawmode(void)
void c_plcol0(PLINT icol0)
void c_plscmap1_range(PLFLT min_color, PLFLT max_color)
void c_plscmap1l(PLINT itype, PLINT npts, PLFLT_VECTOR intensity, PLFLT_VECTOR coord1, PLFLT_VECTOR coord2, PLFLT_VECTOR coord3, PLINT_VECTOR alt_hue_path)
void c_pltext(void)
Switches to text screen.
void c_plscolbga(PLINT r, PLINT g, PLINT b, PLFLT alpha)
void c_plcol1(PLFLT col1)
void c_plscmap0a(PLINT_VECTOR r, PLINT_VECTOR g, PLINT_VECTOR b, PLFLT_VECTOR alpha, PLINT ncol0)
void c_plrgbhls(PLFLT r, PLFLT g, PLFLT b, PLFLT *p_h, PLFLT *p_l, PLFLT *p_s)
void c_plscmap0(PLINT_VECTOR r, PLINT_VECTOR g, PLINT_VECTOR b, PLINT ncol0)
void c_plgcol0a(PLINT icol0, PLINT *r, PLINT *g, PLINT *b, PLFLT *alpha)
void c_plscmap1(PLINT_VECTOR r, PLINT_VECTOR g, PLINT_VECTOR b, PLINT ncol1)
void c_plsdrawmode(PLINT mode)
void c_plscol0a(PLINT icol0, PLINT r, PLINT g, PLINT b, PLFLT alpha)
void c_plscol0(PLINT icol0, PLINT r, PLINT g, PLINT b)
void c_plseed(unsigned int seed)
void c_plscmap1a(PLINT_VECTOR r, PLINT_VECTOR g, PLINT_VECTOR b, PLFLT_VECTOR alpha, PLINT ncol1)
void c_plscolbg(PLINT r, PLINT g, PLINT b)
void c_plscolor(PLINT color)
void c_plscmap0n(PLINT ncol0)
void c_plscmap1n(PLINT ncol1)
void c_plspal0(PLCHAR_VECTOR filename)
void c_plgcolbg(PLINT *r, PLINT *g, PLINT *b)
void c_plhlsrgb(PLFLT h, PLFLT l, PLFLT s, PLFLT *p_r, PLFLT *p_g, PLFLT *p_b)
void c_plfill3(PLINT n, PLFLT_VECTOR x, PLFLT_VECTOR y, PLFLT_VECTOR z)
void c_plfill(PLINT n, PLFLT_VECTOR x, PLFLT_VECTOR y)
void c_plgradient(PLINT n, PLFLT_VECTOR x, PLFLT_VECTOR y, PLFLT angle)
void c_plhist(PLINT n, PLFLT_VECTOR data, PLFLT datmin, PLFLT datmax, PLINT nbin, PLINT flags)
void c_plbin(PLINT nbin, PLFLT_VECTOR x, PLFLT_VECTOR y, PLINT flags)
void c_plimage(PLFLT_MATRIX idata, PLINT nx, PLINT ny, PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLFLT zmin, PLFLT zmax, PLFLT Dxmin, PLFLT Dxmax, PLFLT Dymin, PLFLT Dymax)
void c_plline(PLINT n, PLFLT_VECTOR x, PLFLT_VECTOR y)
void c_plline3(PLINT n, PLFLT_VECTOR x, PLFLT_VECTOR y, PLFLT_VECTOR z)
void c_plpath(PLINT n, PLFLT x1, PLFLT y1, PLFLT x2, PLFLT y2)
void c_plstyl(PLINT nms, PLINT_VECTOR mark, PLINT_VECTOR space)
void c_pljoin(PLFLT x1, PLFLT y1, PLFLT x2, PLFLT y2)
void plMinMax2dGrid(PLFLT_MATRIX f, PLINT nx, PLINT ny, PLFLT *fnmax, PLFLT *fnmin)
void c_plsurf3d(PLFLT_VECTOR x, PLFLT_VECTOR y, PLFLT_MATRIX z, PLINT nx, PLINT ny, PLINT opt, PLFLT_VECTOR clevel, PLINT nlevel)
void c_plmeshc(PLFLT_VECTOR x, PLFLT_VECTOR y, PLFLT_MATRIX z, PLINT nx, PLINT ny, PLINT opt, PLFLT_VECTOR clevel, PLINT nlevel)
void c_plot3dcl(PLFLT_VECTOR x, PLFLT_VECTOR y, PLFLT_MATRIX z, PLINT nx, PLINT ny, PLINT opt, PLFLT_VECTOR clevel, PLINT nlevel, PLINT indexxmin, PLINT indexxmax, PLINT_VECTOR indexymin, PLINT_VECTOR indexymax)
void c_plsurf3dl(PLFLT_VECTOR x, PLFLT_VECTOR y, PLFLT_MATRIX z, PLINT nx, PLINT ny, PLINT opt, PLFLT_VECTOR clevel, PLINT nlevel, PLINT indexxmin, PLINT indexxmax, PLINT_VECTOR indexymin, PLINT_VECTOR indexymax)
void c_plmesh(PLFLT_VECTOR x, PLFLT_VECTOR y, PLFLT_MATRIX z, PLINT nx, PLINT ny, PLINT opt)
void c_plot3d(PLFLT_VECTOR x, PLFLT_VECTOR y, PLFLT_MATRIX z, PLINT nx, PLINT ny, PLINT opt, PLBOOL side)
void c_plot3dc(PLFLT_VECTOR x, PLFLT_VECTOR y, PLFLT_MATRIX z, PLINT nx, PLINT ny, PLINT opt, PLFLT_VECTOR clevel, PLINT nlevel)
void c_pllightsource(PLFLT x, PLFLT y, PLFLT z)
void c_plcalc_world(PLFLT rx, PLFLT ry, PLFLT *wx, PLFLT *wy, PLINT *window)
void c_plgspa(PLFLT *xmin, PLFLT *xmax, PLFLT *ymin, PLFLT *ymax)
#define PL_POSITION_BOTTOM
#define PL_HIST_NOSCALING
#define PL_COLORBAR_BACKGROUND
#define PL_HIST_IGNORE_OUTLIERS
#define PL_COLORBAR_CAP_NONE
#define PL_COLORBAR_ORIENT_BOTTOM
#define PL_COLORBAR_LABEL_TOP
#define PL_COLORBAR_ORIENT_TOP
#define PL_POSITION_SUBPAGE
#define PL_COLORBAR_CAP_HIGH
#define PL_DRAWMODE_REPLACE
#define PL_LEGEND_BACKGROUND
#define PL_POSITION_OUTSIDE
#define PL_COLORBAR_IMAGE
#define PL_LEGEND_COLOR_BOX
#define PL_COLORBAR_SHADE_LABEL
#define PL_LEGEND_ROW_MAJOR
#define PL_LEGEND_BOUNDING_BOX
#define PL_COLORBAR_LABEL_RIGHT
#define PL_DRAWMODE_UNKNOWN
#define PL_POSITION_VIEWPORT
#define PL_COLORBAR_GRADIENT
#define PL_COLORBAR_LABEL_BOTTOM
#define PL_POSITION_INSIDE
#define PL_POSITION_RIGHT
#define PL_COLORBAR_CAP_LOW
#define PL_DRAWMODE_DEFAULT
#define PL_COLORBAR_ORIENT_RIGHT
#define PL_COLORBAR_LABEL_LEFT
#define PL_COLORBAR_BOUNDING_BOX
#define PL_LEGEND_TEXT_LEFT
#define PL_COLORBAR_ORIENT_LEFT
#define PL_COLORBAR_SHADE
@ PL_FCI_WEIGHT_UNCHANGED
#define _CAMLIDL_EXTERN_C
@ PL_FCI_FAMILY_UNCHANGED
@ PL_WORLD_COORDINATES_DEFINED
void c_plsmin(PLFLT def, PLFLT scale)
void c_plssym(PLFLT def, PLFLT scale)
void c_plpsty(PLINT patt)
void c_plpat(PLINT nlin, PLINT_VECTOR inc, PLINT_VECTOR del)
void c_plschr(PLFLT def, PLFLT scale)
void c_plsmaj(PLFLT def, PLFLT scale)
void c_plstripd(PLINT id)
void c_plstripa(PLINT id, PLINT p, PLFLT x, PLFLT y)
void c_plpoin3(PLINT n, PLFLT_VECTOR x, PLFLT_VECTOR y, PLFLT_VECTOR z, PLINT code)
void c_plsym(PLINT n, PLFLT_VECTOR x, PLFLT_VECTOR y, PLINT code)
void c_plmtex3(PLCHAR_VECTOR side, PLFLT disp, PLFLT pos, PLFLT just, PLCHAR_VECTOR text)
void c_plpoin(PLINT n, PLFLT_VECTOR x, PLFLT_VECTOR y, PLINT code)
void c_plstring(PLINT n, PLFLT_VECTOR x, PLFLT_VECTOR y, PLCHAR_VECTOR string)
void c_plstring3(PLINT n, PLFLT_VECTOR x, PLFLT_VECTOR y, PLFLT_VECTOR z, PLCHAR_VECTOR string)
void c_pllab(PLCHAR_VECTOR xlabel, PLCHAR_VECTOR ylabel, PLCHAR_VECTOR tlabel)
void c_plfont(PLINT ifont)
void c_plgfont(PLINT *p_family, PLINT *p_style, PLINT *p_weight)
void c_plmtex(PLCHAR_VECTOR side, PLFLT disp, PLFLT pos, PLFLT just, PLCHAR_VECTOR text)
void c_plsfont(PLINT family, PLINT style, PLINT weight)
void c_plptex3(PLFLT wx, PLFLT wy, PLFLT wz, PLFLT dx, PLFLT dy, PLFLT dz, PLFLT sx, PLFLT sy, PLFLT sz, PLFLT just, PLCHAR_VECTOR text)
void c_plptex(PLFLT wx, PLFLT wy, PLFLT dx, PLFLT dy, PLFLT just, PLCHAR_VECTOR text)
void c_plerry(PLINT n, PLFLT_VECTOR x, PLFLT_VECTOR ymin, PLFLT_VECTOR ymax)
void c_plerrx(PLINT n, PLFLT_VECTOR xmin, PLFLT_VECTOR xmax, PLFLT_VECTOR y)
void c_plconfigtime(PLFLT scale, PLFLT offset1, PLFLT offset2, PLINT ccontrol, PLBOOL ifbtime_offset, PLINT year, PLINT month, PLINT day, PLINT hour, PLINT min, PLFLT sec)
void c_plbtime(PLINT *year, PLINT *month, PLINT *day, PLINT *hour, PLINT *min, PLFLT *sec, PLFLT ctime)
void c_pltimefmt(PLCHAR_VECTOR fmt)
void c_plctime(PLINT year, PLINT month, PLINT day, PLINT hour, PLINT min, PLFLT sec, PLFLT *ctime)
void c_plsvect(PLFLT_VECTOR arrowx, PLFLT_VECTOR arrowy, PLINT npts, PLBOOL fill)
void c_plvpor(PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax)
void c_plvasp(PLFLT aspect)
void c_plsvpa(PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax)
void c_plvpas(PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLFLT aspect)
void c_plenv(PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLINT just, PLINT axis)
void c_plenv0(PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLINT just, PLINT axis)
void c_plwind(PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax)
void c_plw3d(PLFLT basex, PLFLT basey, PLFLT height, PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLFLT zmin, PLFLT zmax, PLFLT alt, PLFLT az)