33 #ifdef PL_USE_NAMESPACE
49 xf.
xform( ox, oy, *nx, *ny );
83 PLFLT xll, xlr, xrl, xrr;
84 PLFLT yll, ylr, yrl, yrr;
85 PLFLT xmin, xmax, ymin, ymax;
100 if ( x < xmin || x > xmax || y < ymin || y > ymax )
102 cerr <<
"cxx_pltr2::xform, Invalid coordinates\n";
113 tx =
xg( 0, ny - 1 );
114 ty =
yg( 0, ny - 1 );
123 tx = xll * ( 1 - dv ) + xlr * ( dv );
124 ty = yll * ( 1 - dv ) + ylr * ( dv );
131 tx =
xg( nx - 1, 0 );
132 ty =
yg( nx - 1, 0 );
136 tx =
xg( nx - 1, ny - 1 );
137 ty =
yg( nx - 1, ny - 1 );
141 xll =
xg( nx - 1, vl );
142 yll =
yg( nx - 1, vl );
143 xlr =
xg( nx - 1, vr );
144 ylr =
yg( nx - 1, vr );
146 tx = xll * ( 1 - dv ) + xlr * ( dv );
147 ty = yll * ( 1 - dv ) + ylr * ( dv );
159 tx = xll * ( 1 - du ) + xrl * ( du );
160 ty = yll * ( 1 - du ) + yrl * ( du );
164 xlr =
xg( ul, ny - 1 );
165 xrr =
xg( ur, ny - 1 );
166 ylr =
yg( ul, ny - 1 );
167 yrr =
yg( ur, ny - 1 );
169 tx = xlr * ( 1 - du ) + xrr * ( du );
170 ty = ylr * ( 1 - du ) + yrr * ( du );
187 if ( ur == nx && vr < ny )
192 tx = xll * ( 1 - dv ) + xlr * ( dv );
193 ty = yll * ( 1 - dv ) + ylr * ( dv );
198 else if ( ur < nx && vr == ny )
203 tx = xll * ( 1 - du ) + xrl * ( du );
204 ty = yll * ( 1 - du ) + yrl * ( du );
209 else if ( ur == nx && vr == ny )
227 tx = xll * ( 1 - du ) * ( 1 - dv ) + xlr * ( 1 - du ) * ( dv ) +
228 xrl * ( du ) * ( 1 - dv ) + xrr * ( du ) * ( dv );
230 ty = yll * ( 1 - du ) * ( 1 - dv ) + ylr * ( 1 - du ) * ( dv ) +
231 yrl * ( du ) * ( 1 - dv ) + yrr * ( du ) * ( dv );
252 pltr0( x, y, tx, ty, pltr_data );
260 pltr1( x, y, tx, ty, pltr_data );
269 pltr2( x, y, tx, ty, pltr_data );
278 pltr2p( x, y, tx, ty, pltr_data );
327 const char *driver,
const char *file )
352 #define BONZAI { throw "plstream method not implemented."; }
372 plarc( x, y, a, b, angle1, angle2, rotate, fill );
381 plvect( u, v, nx, ny, scale, pltr, pltr_data );
410 plaxes( x0, y0, xopt, xtick, nxsub, yopt, ytick, nysub );
419 plbin( nbin, x, y, center );
438 plbox( xopt, xtick, nxsub, yopt, ytick, nysub );
446 const char *yopt,
const char *ylabel,
PLFLT ytick,
PLINT nsuby,
447 const char *zopt,
const char *zlabel,
PLFLT ztick,
PLINT nsubz )
451 plbox3( xopt, xlabel, xtick, nsubx,
452 yopt, ylabel, ytick, nsuby,
453 zopt, zlabel, ztick, nsubz );
462 plbtime( &year, &month, &day, &hour, &min, &sec, ctime );
517 "plstream::col(PLFLT c) : function deprecated. Use plstream::col1(PLFLT c) instead"
532 plconfigtime( scale, offset1, offset2, ccontrol, ifbtime_offset, year,
533 month, day, hour, min, sec );
547 plcont( f, nx, ny, kx, lx, ky, ly, clevel, nlevel,
564 nx, ny, kx, lx, ky, ly, clevel, nlevel,
591 plctime( year, month, day, hour, min, sec, &ctime );
601 pldid2pc( &xmin, &ymin, &xmax, &ymax );
611 pldip2dc( &xmin, &ymin, &xmax, &ymax );
642 plenv( xmin, xmax, ymin, ymax, just, axis );
653 plenv0( xmin, xmax, ymin, ymax, just, axis );
671 plerrx( n, xmin, xmax, y );
680 plerry( n, x, ymin, ymax );
797 plgdidev( &mar, &aspect, &jx, &jy );
815 plgdiplt( &xmin, &ymin, &xmax, &ymax );
833 plgfam( &fam, &num, &bmax );
851 plgfont( &family, &style, &weight );
870 plgpage( &xp, &yp, &xleng, &yleng, &xoff, &yoff );
899 plgriddata( x, y, z, npts, xg, nptsx, yg, nptsy, zg, type, data );
908 plgspa( &xmin, &xmax, &ymin, &ymax );
937 plgvpd( &xmin, &xmax, &ymin, &ymax );
946 plgvpw( &xmin, &xmax, &ymin, &ymax );
955 plgxax( &digmax, &digits );
964 plgyax( &digmax, &digits );
973 plgzax( &digmax, &digits );
983 plhist( n, data, datmin, datmax, nbin, oldwin );
995 #endif // PL_DEPRECATED
1017 pljoin( x1, y1, x2, y2 );
1023 const char *tlabel )
1027 pllab( xlabel, ylabel, tlabel );
1038 PLFLT text_justification,
1039 const PLINT *text_colors,
const char *
const *text,
1040 const PLINT *box_colors,
const PLINT *box_patterns,
1041 const PLFLT *box_scales,
const PLFLT *box_line_widths,
1042 const PLINT *line_colors,
const PLINT *line_styles,
1043 const PLFLT *line_widths,
1044 const PLINT *symbol_colors,
const PLFLT *symbol_scales,
1045 const PLINT *symbol_numbers,
const char *
const *symbols )
1049 pllegend( p_legend_width, p_legend_height, opt, position, x, y, plot_width,
1050 bg_color, bb_color, bb_style, nrow, ncolumn, nlegend, opt_array,
1051 text_offset, text_scale, text_spacing, text_justification,
1052 text_colors, text, box_colors, box_patterns, box_scales,
1053 box_line_widths, line_colors, line_styles, line_widths,
1054 symbol_colors, symbol_scales, symbol_numbers, symbols );
1063 PLINT n_labels,
PLINT *label_opts,
const char *
const *label,
1064 PLINT n_axes,
const char *
const *axis_opts,
1066 PLINT *n_values,
const PLFLT *
const *values )
1070 plcolorbar( p_colorbar_width, p_colorbar_height, opt, position, x, y,
1071 x_length, y_length, bg_color, bb_color, bb_style,
1072 low_cap_color, high_cap_color, cont_color, cont_width,
1073 n_labels, label_opts, label, n_axes, axis_opts,
1074 ticks, sub_ticks, n_values, values );
1122 plmap( mapform, name, minx, maxx, miny, maxy );
1129 const PLINT *plotentries,
PLINT nplotentries )
1133 plmapline( mapform, name, minx, maxx, miny, maxy, plotentries, nplotentries );
1139 const char *
name,
const char *
string,
1141 const PLINT *plotentries,
PLINT nplotentries )
1145 plmapstring( mapform, name,
string, minx, maxx, miny, maxy, plotentries, nplotentries );
1157 plmaptex( mapform, name, dx, dy, just, text, minx, maxx, miny, maxy, plotentry );
1168 plmapfill( mapform, name, minx, maxx, miny, maxy, plotentries, nplotentries );
1180 plmeridians( mapform, dlong, dlat, minlong, maxlong, minlat,
1191 plmesh( x, y, z, nx, ny, opt );
1201 plmeshc( x, y, z, nx, ny, opt, clevel, nlevel );
1220 plmtex( side, disp, pos, just, text );
1230 plmtex3( side, disp, pos, just, text );
1241 plsurf3d( x, y, z, nx, ny, opt, clevel, nlevel );
1251 const PLINT *indexymin,
const PLINT *indexymax )
1255 plsurf3dl( x, y, z, nx, ny, opt, clevel, nlevel, ixstart, ixn,
1256 indexymin, indexymax );
1286 ::plot3dc( x, y, z, nx, ny, opt, clevel, nlevel );
1296 const PLINT *indexymin,
const PLINT *indexymax )
1300 ::plot3dcl( x, y, z, nx, ny, opt, clevel, nlevel, ixstart, ixn,
1301 indexymin, indexymax );
1319 plpat( nlin, inc, del );
1328 plpath( n, x1, y1, x2, y2 );
1352 const bool *draw,
bool ifcc )
1355 for (
int i = 0; i < n - 1; i++ )
1357 loc_draw[i] = (
PLBOOL) draw[i];
1372 for (
int i = 0; i < n - 1; i++ )
1374 loc_draw[i] = (
PLBOOL) draw[i];
1409 plptex( x, y, dx, dy, just, text );
1421 plptex3( wx, wy, wz, dx, dy, dz, sx, sy, sz, just, text );
1444 #ifdef PL_DEPRECATED
1451 #endif // PL_DEPRECATED
1455 #ifdef PL_DEPRECATED
1462 #endif // PL_DEPRECATED
1550 const bool *alt_hue_path )
1552 PLBOOL *loc_alt_hue_path = NULL;
1553 if ( alt_hue_path != NULL )
1555 loc_alt_hue_path =
new PLBOOL[npts - 1];
1556 for (
int i = 0; i < npts - 1; i++ )
1558 loc_alt_hue_path[i] = (
PLBOOL) alt_hue_path[i];
1564 plscmap1l( (
PLBOOL) itype, npts, intensity, coord1, coord2, coord3, loc_alt_hue_path );
1566 if ( loc_alt_hue_path != NULL )
1567 delete [] loc_alt_hue_path;
1576 const PLFLT *a,
const bool *alt_hue_path )
1578 PLBOOL *loc_alt_hue_path = NULL;
1579 if ( alt_hue_path != NULL )
1581 loc_alt_hue_path =
new PLBOOL[npts - 1];
1582 for (
int i = 0; i < npts - 1; i++ )
1584 loc_alt_hue_path[i] = (
PLBOOL) alt_hue_path[i];
1591 a, loc_alt_hue_path );
1593 if ( loc_alt_hue_path != NULL )
1594 delete [] loc_alt_hue_path;
1610 const PLINT *alt_hue_path )
1612 PLBOOL *loc_alt_hue_path = NULL;
1613 if ( alt_hue_path != NULL )
1615 loc_alt_hue_path =
new PLBOOL[npts - 1];
1616 for (
int i = 0; i < npts - 1; i++ )
1618 loc_alt_hue_path[i] = (
PLBOOL) alt_hue_path[i];
1624 plscmap1l( (
PLBOOL) itype, npts, intensity, coord1, coord2, coord3, loc_alt_hue_path );
1626 if ( loc_alt_hue_path != NULL )
1627 delete [] loc_alt_hue_path;
1720 plsdimap( dimxmin, dimxmax, dimymin, dimymax, dimxpmm, dimypmm );
1738 plsdiplt( xmin, ymin, xmax, ymax );
1747 plsdiplz( xmin, ymin, xmax, ymax );
1784 plsfam( fam, num, bmax );
1820 plsfont( family, style, weight );
1838 plshade( a, nx, ny, defined, left, right, bottom, top,
1839 shade_min, shade_max,
1840 sh_cmap, sh_color, sh_width,
1841 min_color, min_width, max_color, max_width,
1842 fill, (
PLBOOL) rectangular, pltr, pltr_data );
1859 plshade( a, nx, ny, defined, left, right, bottom, top,
1860 shade_min, shade_max,
1861 sh_cmap, sh_color, sh_width,
1862 min_color, min_width, max_color, max_width,
1863 fill, (
PLBOOL) rectangular, pltr, pltr_data );
1877 plshades( a, nx, ny, defined, xmin, xmax, ymin, ymax,
1878 clevel, nlevel, fill_width, cont_color, cont_width,
1879 fill, (
PLBOOL) rectangular, pltr, pltr_data );
1894 plshades( a, nx, ny, defined, xmin, xmax, ymin, ymax,
1895 clevel, nlevel, fill_width, cont_color, cont_width,
1896 fill, (
PLBOOL) rectangular, pltr, pltr_data );
1917 xmin, xmax, ymin, ymax, shade_min, shade_max,
1918 sh_cmap, sh_color, sh_width,
1919 min_color, min_width, max_color, max_width,
1926 xmin, xmax, ymin, ymax, shade_min, shade_max,
1927 sh_cmap, sh_color, sh_width,
1928 min_color, min_width, max_color, max_width,
1951 xmin, xmax, ymin, ymax, shade_min, shade_max,
1952 sh_cmap, sh_color, sh_width,
1953 min_color, min_width, max_color, max_width,
1972 left, right, bottom, top,
1973 shade_min, shade_max,
1974 sh_cmap, sh_color, sh_width,
1975 min_color, min_width, max_color, max_width,
1976 fill, (
PLBOOL) rectangular, pltr, pltr_data );
1994 left, right, bottom, top,
1995 shade_min, shade_max,
1996 sh_cmap, sh_color, sh_width,
1997 min_color, min_width, max_color, max_width,
1998 fill, (
PLBOOL) rectangular, pltr, pltr_data );
2018 c2eval, c2eval_data,
2019 nx, ny, left, right, bottom, top,
2020 shade_min, shade_max,
2021 sh_cmap, sh_color, sh_width,
2022 min_color, min_width, max_color, max_width,
2023 fill, (
PLBOOL) rectangular, pltr, pltr_data );
2044 c2eval, c2eval_data,
2045 nx, ny, left, right, bottom, top,
2046 shade_min, shade_max,
2047 sh_cmap, sh_color, sh_width,
2048 min_color, min_width, max_color, max_width,
2049 fill, (
PLBOOL) rectangular, pltr, pltr_data );
2076 plsmem( maxx, maxy, plotmem );
2085 plsmema( maxx, maxy, plotmem );
2113 plspage( xp, yp, xleng, yleng, xoff, yoff );
2202 plstransform( coordinate_transform, coordinate_transform_data );
2236 const PLINT colline[],
const PLINT styline[],
2237 const char *legline[],
const char *labx,
2238 const char *laby,
const char *labtop )
2242 plstripc(
id, xspec, yspec, xmin, xmax, xjump, ymin, ymax, xlpos, ylpos,
2243 (
PLBOOL) y_ascl, (
PLBOOL) acc, colbox, collab, colline, styline,
2244 legline, labx, laby, labtop );
2253 const PLINT colline[],
const PLINT styline[],
2254 const char *legline[],
const char *labx,
2255 const char *laby,
const char *labtop )
2259 plstripc(
id, xspec, yspec, xmin, xmax, xjump, ymin, ymax, xlpos, ylpos,
2260 (
PLBOOL) y_ascl, (
PLBOOL) acc, colbox, collab, colline, styline,
2261 legline, labx, laby, labtop );
2292 plimage( data, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax,
2293 Dxmin, Dxmax, Dymin, Dymax );
2305 plimagefr( data, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax,
2306 valuemin, valuemax, pltr, pltr_data );
2315 plstyl( nms, mark, space );
2324 plsvpa( xmin, xmax, ymin, ymax );
2333 plsxax( digmax, digits );
2351 plsyax( digmax, digits );
2360 plsym( n, x, y, code );
2369 plszax( digmax, digits );
2408 plvpas( xmin, xmax, ymin, ymax, aspect );
2417 plvpor( xmin, xmax, ymin, ymax );
2438 plw3d( basex, basey, height, xmin0, xmax0, ymin0, ymax0, zmin0, zmax0,
2457 plwind( xmin, xmax, ymin, ymax );
2470 *status = ( loc_status != 0 );
2482 *status = (
PLINT) loc_status;
2628 const char **notes )
2654 #ifdef PL_DEPRECATED
2661 #endif // PL_DEPRECATED
2737 plGetName( dir, subdir, filename, filespec );
PLFLT plf2evalr(PLINT ix, PLINT iy, PLPointer plf2eval_data)
PLINT plMergeOpts(PLOptionTable *options, PLCHAR_VECTOR name, PLCHAR_VECTOR *notes)
void(* label_func)(PLINT, PLFLT, char *, PLINT, PLPointer)
void plsdevdata(void *data)
void spal1(const char *filename, bool interpolate=true)
PLINT parseopts(int *p_argc, char **argv, PLINT mode)
PLINT plGetCursor(PLGraphicsIn *plg)
void vpor(PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax)
PLINT plGetInt(PLCHAR_VECTOR s)
void poin(PLINT n, const PLFLT *x, const PLFLT *y, PLINT code)
void cmd(PLINT op, void *ptr)
void btime(PLINT &year, PLINT &month, PLINT &day, PLINT &hour, PLINT &min, PLFLT &sec, PLFLT ctime)
void plGetName(PLCHAR_VECTOR dir, PLCHAR_VECTOR subdir, PLCHAR_VECTOR filename, char **filespec)
PLINT plFindName(char *p)
void scolbg(PLINT r, PLINT g, PLINT b)
void rgbhls(PLFLT r, PLFLT g, PLFLT b, PLFLT *p_h, PLFLT *p_l, PLFLT *p_s)
void erry(PLINT n, const PLFLT *x, const PLFLT *ymin, const PLFLT *ymax)
void(* PLMAPFORM_callback)(PLINT n, PLFLT_NC_VECTOR x, PLFLT_NC_VECTOR y)
void imagefr(const PLFLT *const *data, PLINT nx, PLINT ny, PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLFLT zmin, PLFLT zmax, PLFLT valuemin, PLFLT valuemax, PLTRANSFORM_callback pltr, PLPointer pltr_data)
void c_plssub(PLINT nx, PLINT ny)
void svect(const PLFLT *arrow_x=NULL, const PLFLT *arrow_y=NULL, PLINT npts=0, bool fill=false)
void box(const char *xopt, PLFLT xtick, PLINT nxsub, const char *yopt, PLFLT ytick, PLINT nysub)
void gdiplt(PLFLT &xmin, PLFLT &ymin, PLFLT &xmax, PLFLT &ymax)
PLFLT f2evalr(PLINT ix, PLINT iy, PLPointer plf2eval_data)
void map(PLMAPFORM_callback mapform, const char *name, PLFLT minx, PLFLT maxx, PLFLT miny, PLFLT maxy)
PLFLT plf2eval(PLINT ix, PLINT iy, PLPointer plf2eval_data)
void mapform(PLINT n, PLFLT *x, PLFLT *y)
void c_plgstrm(PLINT *p_strm)
void SetUsage(char *program_string, char *usage_string)
void vect(const PLFLT *const *u, const PLFLT *const *v, PLINT nx, PLINT ny, PLFLT scale, PLTRANSFORM_callback pltr, PLPointer pltr_data)
void pldid2pc(PLFLT *xmin, PLFLT *ymin, PLFLT *xmax, PLFLT *ymax)
virtual void elements(int &nx, int &ny) const
void griddata(const PLFLT *x, const PLFLT *y, const PLFLT *z, PLINT npts, const PLFLT *xg, PLINT nptsx, const PLFLT *yg, PLINT nptsy, PLFLT **zg, PLINT type, PLFLT data)
void ssub(PLINT nx, PLINT ny)
void gcmap1_range(PLFLT &min_color, PLFLT &max_color)
void scmap0(const PLINT *r, const PLINT *g, const PLINT *b, PLINT ncol0)
void pat(PLINT nlin, const PLINT *inc, const PLINT *del)
void cpstrm(plstream &pls, bool flags)
void wind(PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax)
PLFLT plf2eval2(PLINT ix, PLINT iy, PLPointer plf2eval_data)
void sfnam(const char *fnam)
void path(PLINT n, PLFLT x1, PLFLT y1, PLFLT x2, PLFLT y2)
cxx_pltr2(Coord_2d &cx, Coord_2d &cy)
void smema(PLINT maxx, PLINT maxy, void *plotmem)
void plmapline(PLMAPFORM_callback mapform, PLCHAR_VECTOR name, PLFLT minx, PLFLT maxx, PLFLT miny, PLFLT maxy, PLINT_VECTOR plotentries, PLINT nplotentries)
#define pl_setcontlabelparam
void gspa(PLFLT &xmin, PLFLT &xmax, PLFLT &ymin, PLFLT &ymax)
void c_plsdev(PLCHAR_VECTOR devname)
PLDLLIMPEXP_CXX void tr0(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data)
char * FindCommand(char *fn)
void sdevdata(void *data)
void c_plsfnam(PLCHAR_VECTOR fnam)
void gfile(FILE **p_file)
void did2pc(PLFLT &xmin, PLFLT &ymin, PLFLT &xmax, PLFLT &ymax)
virtual void elements(int &_nx, int &_ny)=0
void setcontlabelformat(PLINT lexp, PLINT sigdig)
void image(const PLFLT *const *data, 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 sdidev(PLFLT mar, PLFLT aspect, PLFLT jx, PLFLT jy)
PLINT plTranslateCursor(PLGraphicsIn *plg)
void stripc(PLINT *id, const char *xspec, const char *yspec, PLFLT xmin, PLFLT xmax, PLFLT xjump, PLFLT ymin, PLFLT ymax, PLFLT xlpos, PLFLT ylpos, bool y_ascl, bool acc, PLINT colbox, PLINT collab, const PLINT colline[], const PLINT styline[], const char *legline[], const char *labx, const char *laby, const char *labtop)
void surf3d(const PLFLT *x, const PLFLT *y, const PLFLT *const *z, PLINT nx, PLINT ny, PLINT opt, const PLFLT *clevel, PLINT nlevel)
void line(PLINT n, const PLFLT *x, const PLFLT *y)
void fill(PLINT n, const PLFLT *x, const PLFLT *y)
void plmeridians(PLMAPFORM_callback mapform, PLFLT dlong, PLFLT dlat, PLFLT minlong, PLFLT maxlong, PLFLT minlat, PLFLT maxlat)
void plmaptex(PLMAPFORM_callback mapform, PLCHAR_VECTOR name, PLFLT dx, PLFLT dy, PLFLT just, PLCHAR_VECTOR text, PLFLT minx, PLFLT maxx, PLFLT miny, PLFLT maxy, PLINT plotentry)
void gcompression(PLINT &compression)
void join(PLFLT x1, PLFLT y1, PLFLT x2, PLFLT y2)
void pldip2dc(PLFLT *xmin, PLFLT *ymin, PLFLT *xmax, PLFLT *ymax)
void plot3d(const PLFLT *x, const PLFLT *y, const PLFLT *const *z, PLINT nx, PLINT ny, PLINT opt, bool side)
void env0(PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLINT just, PLINT axis)
void c_plmkstrm(PLINT *p_strm)
PLINT(* PLDEFINED_callback)(PLFLT x, PLFLT y)
void shade(const PLFLT *const *a, PLINT nx, PLINT ny, PLDEFINED_callback defined, 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, PLFILL_callback fill, bool rectangular, PLTRANSFORM_callback pltr, PLPointer pltr_data)
void scol0a(PLINT icol0, PLINT r, PLINT g, PLINT b, PLFLT a)
void sfont(PLINT family, PLINT style, PLINT weight)
void plsError(PLINT *errcode, char *errmsg)
void sKeyEH(void(*KeyEH)(PLGraphicsIn *, void *, int *), void *KeyEH_data)
void seed(unsigned int s)
void scolbga(PLINT r, PLINT g, PLINT b, PLFLT a)
void scompression(PLINT compression)
void mapline(PLMAPFORM_callback mapform, const char *name, PLFLT minx, PLFLT maxx, PLFLT miny, PLFLT maxy, const PLINT *plotentries, PLINT nplotentries)
void gfci(PLUNICODE &pfci)
void(* PLFILL_callback)(PLINT n, PLFLT_VECTOR x, PLFLT_VECTOR y)
void plot3dc(const PLFLT *x, const PLFLT *y, const PLFLT *const *z, PLINT nx, PLINT ny, PLINT opt, const PLFLT *clevel, PLINT nlevel)
void fcont(PLFLT(*f2eval)(PLINT, PLINT, PLPointer), PLPointer f2eval_data, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky, PLINT ly, const PLFLT *clevel, PLINT nlevel, PLTRANSFORM_callback pltr, PLPointer pltr_data)
void svpa(PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax)
void mtex3(const char *side, PLFLT disp, PLFLT pos, PLFLT just, const char *text)
void configtime(PLFLT scale, PLFLT offset1, PLFLT offset2, PLINT ccontrol, PLBOOL ifbtime_offset, PLINT year, PLINT month, PLINT day, PLINT hour, PLINT min, PLFLT sec)
void shades(const PLFLT *const *a, PLINT nx, PLINT ny, PLDEFINED_callback defined, PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, const PLFLT *clevel, PLINT nlevel, PLFLT fill_width, PLINT cont_color, PLFLT cont_width, PLFILL_callback fill, bool rectangular, PLTRANSFORM_callback pltr, PLPointer pltr_data)
void sxax(PLINT digmax, PLINT digits)
void scmap1(const PLINT *r, const PLINT *g, const PLINT *b, PLINT ncol1)
void gvpw(PLFLT &xmin, PLFLT &xmax, PLFLT &ymin, PLFLT &ymax)
void w3d(PLFLT basex, PLFLT basey, PLFLT height, PLFLT xmin0, PLFLT xmax0, PLFLT ymin0, PLFLT ymax0, PLFLT zmin0, PLFLT zmax0, PLFLT alt, PLFLT az)
void poly3(PLINT n, const PLFLT *x, const PLFLT *y, const PLFLT *z, const bool *draw, bool ifcc)
void errx(PLINT n, const PLFLT *xmin, const PLFLT *xmax, const PLFLT *y)
void spage(PLFLT xp, PLFLT yp, PLINT xleng, PLINT yleng, PLINT xoff, PLINT yoff)
void mapstring(PLMAPFORM_callback mapform, const char *name, const char *string, PLFLT minx, PLFLT maxx, PLFLT miny, PLFLT maxy, const PLINT *plotentries, PLINT nplotentries)
void gchr(PLFLT &p_def, PLFLT &p_ht)
void ssym(PLFLT def, PLFLT scale)
void plot3dcl(const PLFLT *x, const PLFLT *y, const PLFLT *const *z, PLINT nx, PLINT ny, PLINT opt, const PLFLT *clevel, PLINT nlevel, PLINT ixstart, PLINT ixn, const PLINT *indexymin, const PLINT *indexymax)
void gcolbg(PLINT &r, PLINT &g, PLINT &b)
void scmap1a(const PLINT *r, const PLINT *g, const PLINT *b, const PLFLT *a, PLINT ncol1)
void smem(PLINT maxx, PLINT maxy, void *plotmem)
void scmap1n(PLINT ncol1)
void glevel(PLINT &p_level)
void c_plhlsrgb(PLFLT h, PLFLT l, PLFLT s, PLFLT *p_r, PLFLT *p_g, PLFLT *p_b)
void mtex(const char *side, PLFLT disp, PLFLT pos, PLFLT just, const char *text)
void plFree2dGrid(PLFLT **f, PLINT nx, PLINT PL_UNUSED(ny))
void c_plsstrm(PLINT strm)
void meshc(const PLFLT *x, const PLFLT *y, const PLFLT *const *z, PLINT nx, PLINT ny, PLINT opt, const PLFLT *clevel, PLINT nlevel)
void xform(PLFLT x, PLFLT y, PLFLT &tx, PLFLT &ty) const
void surf3dl(const PLFLT *x, const PLFLT *y, const PLFLT *const *z, PLINT nx, PLINT ny, PLINT opt, const PLFLT *clevel, PLINT nlevel, PLINT ixstart, PLINT ixn, const PLINT *indexymin, const PLINT *indexymax)
void star(PLINT nx, PLINT ny)
void gfam(PLINT &fam, PLINT &num, PLINT &bmax)
char * plFindCommand(PLCHAR_VECTOR fn)
void syax(PLINT digmax, PLINT digits)
void prec(PLINT setp, PLINT prec)
void gxax(PLINT &digmax, PLINT &digits)
void styl(PLINT nms, const PLINT *mark, const PLINT *space)
void c_plrgbhls(PLFLT r, PLFLT g, PLFLT b, PLFLT *p_h, PLFLT *p_l, PLFLT *p_s)
void c_plscolbg(PLINT r, PLINT g, PLINT b)
void pl_cmd(PLINT op, void *ptr)
void sfam(PLINT fam, PLINT num, PLINT bmax)
void stripa(PLINT id, PLINT pen, PLFLT x, PLFLT y)
void scmap0a(const PLINT *r, const PLINT *g, const PLINT *b, const PLFLT *a, PLINT ncol0)
void plgFileDevs(const char ***p_menustr, const char ***p_devname, int *p_ndev)
void fshade(PLFLT(*f2eval)(PLINT, PLINT, PLPointer), PLPointer f2eval_data, PLFLT(*c2eval)(PLINT, PLINT, PLPointer), PLPointer c2eval_data, 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, PLFILL_callback fill, bool rectangular, PLTRANSFORM_callback pltr, PLPointer pltr_data)
void ctime(PLINT year, PLINT month, PLINT day, PLINT hour, PLINT min, PLFLT sec, PLFLT &ctime)
void plsexit(int(*handler)(PLCHAR_VECTOR))
void Coord_Xform_evaluator(PLFLT ox, PLFLT oy, PLFLT *nx, PLFLT *ny, PLPointer p)
void sdev(const char *devname)
void(* PLTRANSFORM_callback)(PLFLT x, PLFLT y, PLFLT_NC_SCALAR xp, PLFLT_NC_SCALAR yp, PLPointer data)
static PLStream * pls[PL_NSTREAMS]
void gyax(PLINT &digmax, PLINT &digits)
void bin(PLINT nbin, const PLFLT *x, const PLFLT *y, PLINT center)
void timefmt(const char *fmt)
void scmap1la(bool itype, PLINT npts, const PLFLT *intensity, const PLFLT *coord1, const PLFLT *coord2, const PLFLT *coord3, const PLFLT *a, const bool *alt_hue_path=NULL)
void vpas(PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLFLT aspect)
void sexit(int(*handler)(const char *))
void mesh(const PLFLT *x, const PLFLT *y, const PLFLT *const *z, PLINT nx, PLINT ny, PLINT opt)
void setcontlabelparam(PLFLT offset, PLFLT size, PLFLT spacing, PLINT active)
void gcol0a(PLINT icol0, PLINT &r, PLINT &g, PLINT &b, PLFLT &a)
void scmap1l(bool itype, PLINT npts, const PLFLT *intensity, const PLFLT *coord1, const PLFLT *coord2, const PLFLT *coord3, const bool *alt_hue_path=NULL)
void line3(PLINT n, const PLFLT *x, const PLFLT *y, const PLFLT *z)
void sdimap(PLINT dimxmin, PLINT dimxmax, PLINT dimymin, PLINT dimymax, PLFLT dimxpmm, PLFLT dimypmm)
void plmapfill(PLMAPFORM_callback mapform, PLCHAR_VECTOR name, PLFLT minx, PLFLT maxx, PLFLT miny, PLFLT maxy, PLINT_VECTOR plotentries, PLINT nplotentries)
void box3(const char *xopt, const char *xlabel, PLFLT xtick, PLINT nsubx, const char *yopt, const char *ylabel, PLFLT ytick, PLINT nsuby, const char *zopt, const char *zlabel, PLFLT ztick, PLINT nsubz)
static PLOptionTable options[]
void smaj(PLFLT def, PLFLT scale)
void sym(PLINT n, const PLFLT *x, const PLFLT *y, PLINT code)
void dip2dc(PLFLT &xmin, PLFLT &ymin, PLFLT &xmax, PLFLT &ymax)
PLFLT f2eval2(PLINT ix, PLINT iy, PLPointer plf2eval_data)
void mapfill(PLMAPFORM_callback mapform, const char *name, PLFLT minx, PLFLT maxx, PLFLT miny, PLFLT maxy, const PLINT *plotentries, PLINT nplotentries)
void env(PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLINT just, PLINT axis)
PLINT MergeOpts(PLOptionTable *options, const char *name, const char **notes)
int SetOpt(const char *opt, const char *optarg)
void sdiplt(PLFLT xmin, PLFLT ymin, PLFLT xmax, PLFLT ymax)
void shade1(const PLFLT *a, PLINT nx, PLINT ny, PLDEFINED_callback defined, 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, PLFILL_callback fill, bool rectangular, PLTRANSFORM_callback pltr, PLPointer pltr_data)
void schr(PLFLT def, PLFLT scale)
PLINT setopt(const char *opt, const char *optarg)
void start(const char *devname, PLINT nx, PLINT ny)
void plfshade(PLF2EVAL_callback f2eval, PLPointer f2eval_data, PLF2EVAL_callback c2eval, PLPointer c2eval_data, PLINT nx, PLINT ny, PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, 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, PLFILL_callback fill, PLINT rectangular, PLTRANSFORM_callback pltr, PLPointer pltr_data)
void plAlloc2dGrid(PLFLT ***f, PLINT nx, PLINT ny)
void Free2dGrid(PLFLT **f, PLINT nx, PLINT ny)
PLFLT f2eval(PLINT ix, PLINT iy, PLPointer plf2eval_data)
void GetName(char *dir, char *subdir, char *filename, char **filespec)
void stransform(PLTRANSFORM_callback coordinate_transform, PLPointer coordinate_transform_data)
void szax(PLINT digmax, PLINT digits)
void axes(PLFLT x0, PLFLT y0, const char *xopt, PLFLT xtick, PLINT nxsub, const char *yopt, PLFLT ytick, PLINT nysub)
void MinMax2dGrid(const PLFLT *const *f, PLINT nx, PLINT ny, PLFLT *fmax, PLFLT *fmin)
void lab(const char *xlabel, const char *ylabel, const char *tlabel)
void string3(PLINT n, const PLFLT *x, const PLFLT *y, const PLFLT *z, const char *string)
void plgfile(FILE **p_file)
void plsKeyEH(void(*KeyEH)(PLGraphicsIn *, void *, int *), void *KeyEH_data)
PLINT translatecursor(PLGraphicsIn *gin)
void(* PLLABEL_FUNC_callback)(PLINT axis, PLFLT value, PLCHAR_NC_VECTOR label, PLINT length, PLPointer data)
void gpage(PLFLT &xp, PLFLT &yp, PLINT &xleng, PLINT &yleng, PLINT &xoff, PLINT &yoff)
void gdidev(PLFLT &mar, PLFLT &aspect, PLFLT &jx, PLFLT &jy)
void sError(PLINT *errcode, char *errmsg)
void lightsource(PLFLT x, PLFLT y, PLFLT z)
void sxwin(PLINT window_id)
void hist(PLINT n, const PLFLT *data, PLFLT datmin, PLFLT datmax, PLINT nbin, PLINT oldwin)
void maptex(PLMAPFORM_callback mapform, const char *name, PLFLT dx, PLFLT dy, PLFLT just, const char *text, PLFLT minx, PLFLT maxx, PLFLT miny, PLFLT maxy, PLINT plotentry)
void ptex(PLFLT x, PLFLT y, PLFLT dx, PLFLT dy, PLFLT just, const char *text)
void scol0(PLINT icol0, PLINT r, PLINT g, PLINT b)
void gcol0(PLINT icol0, PLINT &r, PLINT &g, PLINT &b)
void poin3(PLINT n, const PLFLT *x, const PLFLT *y, const PLFLT *z, PLINT code)
void gFileDevs(const char ***p_menustr, const char ***p_devname, int *p_ndev)
void meridians(PLMAPFORM_callback mapform, PLFLT dlong, PLFLT dlat, PLFLT minlong, PLFLT maxlong, PLFLT minlat, PLFLT maxlat)
void gvpd(PLFLT &xmin, PLFLT &xmax, PLFLT &ymin, PLFLT &ymax)
PLDLLIMPEXP_CXX void tr2(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data)
void gradient(PLINT n, const PLFLT *x, const PLFLT *y, PLFLT angle)
static PLINT active_streams
PLFLT plGetFlt(PLCHAR_VECTOR s)
void spal0(const char *filename)
void legend(PLFLT *p_legend_width, PLFLT *p_legend_height, PLINT opt, PLINT position, PLFLT x, PLFLT y, PLFLT plot_width, PLINT bg_color, PLINT bb_color, PLINT bb_style, PLINT nrow, PLINT ncolumn, PLINT nlegend, const PLINT *opt_array, PLFLT text_offset, PLFLT text_scale, PLFLT text_spacing, PLFLT text_justification, const PLINT *text_colors, const char *const *text, const PLINT *box_colors, const PLINT *box_patterns, const PLFLT *box_scales, const PLFLT *box_line_widths, const PLINT *line_colors, const PLINT *line_styles, const PLFLT *line_widths, const PLINT *symbol_colors, const PLFLT *symbol_scales, const PLINT *symbol_numbers, const char *const *symbols)
void arc(PLFLT x, PLFLT y, PLFLT a, PLFLT b, PLFLT angle1, PLFLT angle2, PLFLT rotate, PLBOOL fill)
PLDLLIMPEXP_CXX void tr1(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data)
void hlsrgb(PLFLT h, PLFLT l, PLFLT s, PLFLT *p_r, PLFLT *p_g, PLFLT *p_b)
void cont(const PLFLT *const *f, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky, PLINT ly, const PLFLT *clevel, PLINT nlevel, PLTRANSFORM_callback pltr, PLPointer pltr_data)
void plmap(PLMAPFORM_callback mapform, PLCHAR_VECTOR name, PLFLT minx, PLFLT maxx, PLFLT miny, PLFLT maxy)
void sdiplz(PLFLT xmin, PLFLT ymin, PLFLT xmax, PLFLT ymax)
void xormod(bool mode, bool *status)
void fill3(PLINT n, const PLFLT *x, const PLFLT *y, const PLFLT *z)
void gfont(PLINT &family, PLINT &style, PLINT &weight)
void slabelfunc(PLLABEL_FUNC_callback label_func, PLPointer label_data)
void ptex3(PLFLT wx, PLFLT wy, PLFLT wz, PLFLT dx, PLFLT dy, PLFLT dz, PLFLT sx, PLFLT sy, PLFLT sz, PLFLT just, const char *text)
virtual void set_stream(void)
void scmap1_range(PLFLT min_color, PLFLT max_color)
void Alloc2dGrid(PLFLT ***f, PLINT nx, PLINT ny)
PLFLT Contourable_Data_evaluator(PLINT i, PLINT j, PLPointer p)
void plmapstring(PLMAPFORM_callback mapform, PLCHAR_VECTOR name, PLCHAR_VECTOR string, PLFLT minx, PLFLT maxx, PLFLT miny, PLFLT maxy, PLINT_VECTOR plotentries, PLINT nplotentries)
void colorbar(PLFLT *p_colorbar_width, PLFLT *p_colorbar_height, PLINT opt, PLINT position, PLFLT x, PLFLT y, PLFLT x_length, PLFLT y_length, PLINT bg_color, PLINT bb_color, PLINT bb_style, PLFLT low_cap_color, PLFLT high_cap_color, PLINT cont_color, PLFLT cont_width, PLINT n_labels, PLINT *label_opts, const char *const *label, PLINT n_axes, const char *const *axis_opts, PLFLT *ticks, PLINT *sub_ticks, PLINT *n_values, const PLFLT *const *values)
void smin(PLFLT def, PLFLT scale)
void pltr2p(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data)
void plfcont(PLF2EVAL_callback f2eval, PLPointer f2eval_data, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky, PLINT ly, PLFLT_VECTOR clevel, PLINT nlevel, PLTRANSFORM_callback pltr, PLPointer pltr_data)
void scmap0n(PLINT ncol0)
void gzax(PLINT &digmax, PLINT &digits)
PLINT GetCursor(PLGraphicsIn *plg)
void string(PLINT n, const PLFLT *x, const PLFLT *y, const char *string)
void calc_world(PLFLT rx, PLFLT ry, PLFLT &wx, PLFLT &wy, PLINT &window)
PLDLLIMPEXP_CXX void tr2p(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data)
PLDLLIMPEXP_CXX void fill(PLINT n, const PLFLT *x, const PLFLT *y)
void gcolbga(PLINT &r, PLINT &g, PLINT &b, PLFLT &a)