34 #ifdef PL_USE_NAMESPACE
50 xf.
xform( ox, oy, *nx, *ny );
84 PLFLT xll, xlr, xrl, xrr;
85 PLFLT yll, ylr, yrl, yrr;
101 if ( x < xmin || x > xmax || y < ymin || y > ymax )
103 cerr <<
"cxx_pltr2::xform, Invalid coordinates\n";
114 tx =
xg( 0, ny - 1 );
115 ty =
yg( 0, ny - 1 );
124 tx = xll * ( 1 - dv ) + xlr * ( dv );
125 ty = yll * ( 1 - dv ) + ylr * ( dv );
132 tx =
xg( nx - 1, 0 );
133 ty =
yg( nx - 1, 0 );
137 tx =
xg( nx - 1, ny - 1 );
138 ty =
yg( nx - 1, ny - 1 );
142 xll =
xg( nx - 1, vl );
143 yll =
yg( nx - 1, vl );
144 xlr =
xg( nx - 1, vr );
145 ylr =
yg( nx - 1, vr );
147 tx = xll * ( 1 - dv ) + xlr * ( dv );
148 ty = yll * ( 1 - dv ) + ylr * ( dv );
160 tx = xll * ( 1 - du ) + xrl * ( du );
161 ty = yll * ( 1 - du ) + yrl * ( du );
165 xlr =
xg( ul, ny - 1 );
166 xrr =
xg( ur, ny - 1 );
167 ylr =
yg( ul, ny - 1 );
168 yrr =
yg( ur, ny - 1 );
170 tx = xlr * ( 1 - du ) + xrr * ( du );
171 ty = ylr * ( 1 - du ) + yrr * ( du );
188 if ( ur == nx && vr < ny )
193 tx = xll * ( 1 - dv ) + xlr * ( dv );
194 ty = yll * ( 1 - dv ) + ylr * ( dv );
199 else if ( ur < nx && vr == ny )
204 tx = xll * ( 1 - du ) + xrl * ( du );
205 ty = yll * ( 1 - du ) + yrl * ( du );
210 else if ( ur == nx && vr == ny )
228 tx = xll * ( 1 - du ) * ( 1 - dv ) + xlr * ( 1 - du ) * ( dv ) +
229 xrl * ( du ) * ( 1 - dv ) + xrr * ( du ) * ( dv );
231 ty = yll * ( 1 - du ) * ( 1 - dv ) + ylr * ( 1 - du ) * ( dv ) +
232 yrl * ( du ) * ( 1 - dv ) + yrr * ( du ) * ( dv );
283 const char *driver,
const char *file )
308 #define BONZAI { throw "plstream method not implemented."; }
328 plarc( x, y, a, b, angle1, angle2, rotate, fill );
338 plvect( u, v, nx, ny, scale,
pltr, pltr_data );
367 plaxes( x0, y0, xopt, xtick, nxsub, yopt, ytick, nysub );
376 plbin( nbin, x, y, center );
395 plbox( xopt, xtick, nxsub, yopt, ytick, nysub );
403 const char *yopt,
const char *ylabel,
PLFLT ytick,
PLINT nsuby,
404 const char *zopt,
const char *zlabel,
PLFLT ztick,
PLINT nsubz )
408 plbox3( xopt, xlabel, xtick, nsubx,
409 yopt, ylabel, ytick, nsuby,
410 zopt, zlabel, ztick, nsubz );
419 plbtime( &year, &month, &day, &hour, &min, &sec, ctime );
474 "plstream::col(PLFLT c) : function deprecated. Use plstream::col1(PLFLT c) instead"
489 plconfigtime( scale, offset1, offset2, ccontrol, ifbtime_offset, year,
490 month, day, hour, min, sec );
505 plcont( f, nx, ny, kx, lx, ky, ly, clevel, nlevel,
523 nx, ny, kx, lx, ky, ly, clevel, nlevel,
550 plctime( year, month, day, hour, min, sec, &ctime );
560 pldid2pc( &xmin, &ymin, &xmax, &ymax );
570 pldip2dc( &xmin, &ymin, &xmax, &ymax );
601 plenv( xmin, xmax, ymin, ymax, just, axis );
612 plenv0( xmin, xmax, ymin, ymax, just, axis );
630 plerrx( n, xmin, xmax, y );
639 plerry( n, x, ymin, ymax );
756 plgdidev( &mar, &aspect, &jx, &jy );
774 plgdiplt( &xmin, &ymin, &xmax, &ymax );
792 plgfam( &fam, &num, &bmax );
810 plgfont( &family, &style, &weight );
829 plgpage( &xp, &yp, &xleng, &yleng, &xoff, &yoff );
858 plgriddata( x, y, z, npts, xg, nptsx, yg, nptsy, zg, type, data );
867 plgspa( &xmin, &xmax, &ymin, &ymax );
896 plgvpd( &xmin, &xmax, &ymin, &ymax );
905 plgvpw( &xmin, &xmax, &ymin, &ymax );
914 plgxax( &digmax, &digits );
923 plgyax( &digmax, &digits );
932 plgzax( &digmax, &digits );
942 plhist( n, data, datmin, datmax, nbin, oldwin );
954 #endif // PL_DEPRECATED
986 pllab( xlabel, ylabel, tlabel );
997 PLFLT text_justification,
998 const PLINT *text_colors,
const char *
const *
text,
999 const PLINT *box_colors,
const PLINT *box_patterns,
1000 const PLFLT *box_scales,
const PLFLT *box_line_widths,
1001 const PLINT *line_colors,
const PLINT *line_styles,
1002 const PLFLT *line_widths,
1003 const PLINT *symbol_colors,
const PLFLT *symbol_scales,
1004 const PLINT *symbol_numbers,
const char *
const *symbols )
1008 pllegend( p_legend_width, p_legend_height, opt, position, x, y, plot_width,
1009 bg_color, bb_color, bb_style, nrow, ncolumn, nlegend, opt_array,
1010 text_offset, text_scale, text_spacing, text_justification,
1011 text_colors, text, box_colors, box_patterns, box_scales,
1012 box_line_widths, line_colors, line_styles, line_widths,
1013 symbol_colors, symbol_scales, symbol_numbers, symbols );
1029 plcolorbar( p_colorbar_width, p_colorbar_height, opt, position, x, y,
1030 x_length, y_length, bg_color, bb_color, bb_style,
1031 low_cap_color, high_cap_color, cont_color, cont_width,
1032 n_labels, label_opts, label, n_axes, axis_opts,
1033 ticks, sub_ticks, n_values, values );
1076 const char *type,
PLFLT minlong,
PLFLT maxlong,
1081 plmap(
mapform, type, minlong, maxlong, minlat, maxlat );
1104 plmesh( x, y, z, nx, ny, opt );
1114 plmeshc( x, y, z, nx, ny, opt, clevel, nlevel );
1133 plmtex( side, disp, pos, just, text );
1143 plmtex3( side, disp, pos, just, text );
1154 plsurf3d( x, y, z, nx, ny, opt, clevel, nlevel );
1164 const PLINT *indexymin,
const PLINT *indexymax )
1168 plsurf3dl( x, y, z, nx, ny, opt, clevel, nlevel, ixstart, ixn,
1169 indexymin, indexymax );
1199 ::plot3dc( x, y, z, nx, ny, opt, clevel, nlevel );
1209 const PLINT *indexymin,
const PLINT *indexymax )
1213 ::plot3dcl( x, y, z, nx, ny, opt, clevel, nlevel, ixstart, ixn,
1214 indexymin, indexymax );
1232 plpat( nlin, inc, del );
1256 const bool *draw,
bool ifcc )
1259 for (
int i = 0; i < n - 1; i++ )
1261 loc_draw[i] = (
PLBOOL) draw[i];
1276 for (
int i = 0; i < n - 1; i++ )
1278 loc_draw[i] = (
PLBOOL) draw[i];
1313 plptex( x, y, dx, dy, just, text );
1325 plptex3( wx, wy, wz, dx, dy, dz, sx, sy, sz, just, text );
1339 #ifdef PL_DEPRECATED
1346 #endif // PL_DEPRECATED
1350 #ifdef PL_DEPRECATED
1357 #endif // PL_DEPRECATED
1445 const bool *alt_hue_path )
1447 PLBOOL *loc_alt_hue_path = NULL;
1448 if ( alt_hue_path != NULL )
1450 loc_alt_hue_path =
new PLBOOL[npts - 1];
1451 for (
int i = 0; i < npts - 1; i++ )
1453 loc_alt_hue_path[i] = (
PLBOOL) alt_hue_path[i];
1459 plscmap1l( (
PLBOOL) itype, npts, intensity, coord1, coord2, coord3, loc_alt_hue_path );
1461 if ( loc_alt_hue_path != NULL )
1462 delete [] loc_alt_hue_path;
1471 const PLFLT *
a,
const bool *alt_hue_path )
1473 PLBOOL *loc_alt_hue_path = NULL;
1474 if ( alt_hue_path != NULL )
1476 loc_alt_hue_path =
new PLBOOL[npts - 1];
1477 for (
int i = 0; i < npts - 1; i++ )
1479 loc_alt_hue_path[i] = (
PLBOOL) alt_hue_path[i];
1486 a, loc_alt_hue_path );
1488 if ( loc_alt_hue_path != NULL )
1489 delete [] loc_alt_hue_path;
1505 const PLINT *alt_hue_path )
1507 PLBOOL *loc_alt_hue_path = NULL;
1508 if ( alt_hue_path != NULL )
1510 loc_alt_hue_path =
new PLBOOL[npts - 1];
1511 for (
int i = 0; i < npts - 1; i++ )
1513 loc_alt_hue_path[i] = (
PLBOOL) alt_hue_path[i];
1519 plscmap1l( (
PLBOOL) itype, npts, intensity, coord1, coord2, coord3, loc_alt_hue_path );
1521 if ( loc_alt_hue_path != NULL )
1522 delete [] loc_alt_hue_path;
1615 plsdimap( dimxmin, dimxmax, dimymin, dimymax, dimxpmm, dimypmm );
1633 plsdiplt( xmin, ymin, xmax, ymax );
1642 plsdiplz( xmin, ymin, xmax, ymax );
1679 plsfam( fam, num, bmax );
1706 plsfont( family, style, weight );
1719 void ( *fill )(
PLINT,
const PLFLT *,
const PLFLT * ),
bool rectangular,
1725 plshade( a, nx, ny, defined, left, right, bottom, top,
1726 shade_min, shade_max,
1727 sh_cmap, sh_color, sh_width,
1728 min_color, min_width, max_color, max_width,
1747 plshade( a, nx, ny, defined, left, right, bottom, top,
1748 shade_min, shade_max,
1749 sh_cmap, sh_color, sh_width,
1750 min_color, min_width, max_color, max_width,
1760 void ( *fill )(
PLINT,
const PLFLT *,
const PLFLT * ),
bool rectangular,
1766 plshades( a, nx, ny, defined, xmin, xmax, ymin, ymax,
1767 clevel, nlevel, fill_width, cont_color, cont_width,
1784 plshades( a, nx, ny, defined, xmin, xmax, ymin, ymax,
1785 clevel, nlevel, fill_width, cont_color, cont_width,
1807 xmin, xmax, ymin, ymax, shade_min, shade_max,
1808 sh_cmap, sh_color, sh_width,
1809 min_color, min_width, max_color, max_width,
1816 xmin, xmax, ymin, ymax, shade_min, shade_max,
1817 sh_cmap, sh_color, sh_width,
1818 min_color, min_width, max_color, max_width,
1841 xmin, xmax, ymin, ymax, shade_min, shade_max,
1842 sh_cmap, sh_color, sh_width,
1843 min_color, min_width, max_color, max_width,
1844 ::
plfill, rectangular != 0,
1856 void ( *fill )(
PLINT,
const PLFLT *,
const PLFLT * ),
bool rectangular,
1863 left, right, bottom, top,
1864 shade_min, shade_max,
1865 sh_cmap, sh_color, sh_width,
1866 min_color, min_width, max_color, max_width,
1886 left, right, bottom, top,
1887 shade_min, shade_max,
1888 sh_cmap, sh_color, sh_width,
1889 min_color, min_width, max_color, max_width,
1904 void ( *fill )(
PLINT,
const PLFLT *,
const PLFLT * ),
bool rectangular,
1911 c2eval, c2eval_data,
1912 nx, ny, left, right, bottom, top,
1913 shade_min, shade_max,
1914 sh_cmap, sh_color, sh_width,
1915 min_color, min_width, max_color, max_width,
1938 c2eval, c2eval_data,
1939 nx, ny, left, right, bottom, top,
1940 shade_min, shade_max,
1941 sh_cmap, sh_color, sh_width,
1942 min_color, min_width, max_color, max_width,
1971 plsmem( maxx, maxy, plotmem );
1980 plsmema( maxx, maxy, plotmem );
2008 plspage( xp, yp, xleng, yleng, xoff, yoff );
2098 plstransform( coordinate_transform, coordinate_transform_data );
2132 const PLINT colline[],
const PLINT styline[],
2133 const char *legline[],
const char *labx,
2134 const char *laby,
const char *labtop )
2138 plstripc(
id, xspec, yspec, xmin, xmax, xjump, ymin, ymax, xlpos, ylpos,
2139 (
PLBOOL) y_ascl, (
PLBOOL) acc, colbox, collab, colline, styline,
2140 legline, labx, laby, labtop );
2149 const PLINT colline[],
const PLINT styline[],
2150 const char *legline[],
const char *labx,
2151 const char *laby,
const char *labtop )
2155 plstripc(
id, xspec, yspec, xmin, xmax, xjump, ymin, ymax, xlpos, ylpos,
2156 (
PLBOOL) y_ascl, (
PLBOOL) acc, colbox, collab, colline, styline,
2157 legline, labx, laby, labtop );
2188 plimage( data, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax,
2189 Dxmin, Dxmax, Dymin, Dymax );
2202 plimagefr( data, nx, ny, xmin, xmax, ymin, ymax, zmin, zmax,
2203 valuemin, valuemax,
pltr, pltr_data );
2212 plstyl( nms, mark, space );
2221 plsvpa( xmin, xmax, ymin, ymax );
2230 plsxax( digmax, digits );
2248 plsyax( digmax, digits );
2257 plsym( n, x, y, code );
2266 plszax( digmax, digits );
2305 plvpas( xmin, xmax, ymin, ymax, aspect );
2314 plvpor( xmin, xmax, ymin, ymax );
2335 plw3d( basex, basey, height, xmin0, xmax0, ymin0, ymax0, zmin0, zmax0,
2354 plwind( xmin, xmax, ymin, ymax );
2367 *status = ( loc_status != 0 );
2379 *status = (
PLINT) loc_status;
2447 pltr0( x, y, tx, ty, pltr_data );
2455 pltr1( x, y, tx, ty, pltr_data );
2464 pltr2( x, y, tx, ty, pltr_data );
2473 pltr2p( x, y, tx, ty, pltr_data );
2561 const char **notes )
2587 #ifdef PL_DEPRECATED
2594 #endif // PL_DEPRECATED
2670 plGetName( dir, subdir, filename, filespec );
PLFLT plGetFlt(const char *s)
subroutine plbox(xopt, xtick, nxsub, yopt, ytick, nysub)
PLFLT plf2evalr(PLINT ix, PLINT iy, PLPointer plf2eval_data)
void spal1(const char *filename, bool interpolate=true)
void plimagefr(PLFLT **idata, PLINT nx, PLINT ny, PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLFLT zmin, PLFLT zmax, PLFLT valuemin, PLFLT valuemax, void(*pltr)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data)
void plFree2dGrid(PLFLT **f, PLINT nx, PLINT PL_UNUSED(ny))
void vpor(PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax)
void poin(PLINT n, const PLFLT *x, const PLFLT *y, PLINT code)
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT PLFLT PLFLT PLINT PLFLT PLINT const PLINT const char *const * label
void cmd(PLINT op, void *ptr)
void btime(PLINT &year, PLINT &month, PLINT &day, PLINT &hour, PLINT &min, PLFLT &sec, PLFLT ctime)
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 c_plssub(PLINT nx, PLINT ny)
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT PLFLT PLFLT PLINT PLFLT PLINT const PLINT const char *const PLINT nx
void map(void(*mapform)(PLINT, PLFLT *, PLFLT *), const char *type, PLFLT minlong, PLFLT maxlong, PLFLT minlat, PLFLT maxlat)
void box(const char *xopt, PLFLT xtick, PLINT nxsub, const char *yopt, PLFLT ytick, PLINT nysub)
subroutine plmtex3(side, disp, pos, xjust, text)
void gdiplt(PLFLT &xmin, PLFLT &ymin, PLFLT &xmax, PLFLT &ymax)
PLFLT f2evalr(PLINT ix, PLINT iy, PLPointer plf2eval_data)
void plGetName(const char *dir, const char *subdir, const char *filename, char **filespec)
PLFLT plf2eval(PLINT ix, PLINT iy, PLPointer plf2eval_data)
void mapform(PLINT n, PLFLT *x, PLFLT *y)
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT bb_color
void c_plgstrm(PLINT *p_strm)
void PLFLT PLINT PLINT position
void SetUsage(char *program_string, char *usage_string)
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT PLFLT PLFLT PLINT PLFLT PLINT const PLINT const char *const PLINT const char *const const PLFLT const PLINT const PLINT * n_values
void pldid2pc(PLFLT *xmin, PLFLT *ymin, PLFLT *xmax, PLFLT *ymax)
subroutine plstring3(x, y, z, string)
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 plgriddata(PLFLT *x, PLFLT *y, PLFLT *z, int npts, PLFLT *xg, int nptsx, PLFLT *yg, int nptsy, PLFLT **zg, int type, PLFLT data)
void ssub(PLINT nx, PLINT ny)
void gcmap1_range(PLFLT &min_color, PLFLT &max_color)
void plfcont(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, void(*pltr)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data)
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)
cxx_pltr2(Coord_2d &cx, Coord_2d &cy)
void smema(PLINT maxx, PLINT maxy, void *plotmem)
void plimage(PLFLT **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)
subroutine plmtex(side, disp, pos, xjust, text)
#define pl_setcontlabelparam
void gspa(PLFLT &xmin, PLFLT &xmax, PLFLT &ymin, PLFLT &ymax)
char * FindCommand(char *fn)
void shades(const PLFLT *const *a, PLINT nx, PLINT ny, PLINT(*defined)(PLFLT, PLFLT), PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, const PLFLT *clevel, PLINT nlevel, PLFLT fill_width, PLINT cont_color, PLFLT cont_width, void(*fill)(PLINT, const PLFLT *, const PLFLT *), bool rectangular, void(*pltr)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data)
subroutine plstring(x, y, string)
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)
void plsexit(int(*handler)(const char *))
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)
static void fill(PLINT n, const PLFLT *x, const PLFLT *y)
void gcompression(PLINT &compression)
void PLFLT PLINT PLINT PLFLT x
void join(PLFLT x1, PLFLT y1, PLFLT x2, PLFLT y2)
void pldip2dc(PLFLT *xmin, PLFLT *ymin, PLFLT *xmax, PLFLT *ymax)
int MergeOpts(PLOptionTable *options, const char *name, const char **notes)
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, void(*pltr)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data)
void plot3d(const PLFLT *x, const PLFLT *y, const PLFLT *const *z, PLINT nx, PLINT ny, PLINT opt, bool side)
void stransform(void(*coordinate_transform)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer coordinate_transform_data)
void plAlloc2dGrid(PLFLT ***f, PLINT nx, PLINT ny)
void env0(PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLINT just, PLINT axis)
void c_plmkstrm(PLINT *p_strm)
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT PLFLT PLFLT PLINT PLFLT PLINT const PLINT const char *const PLINT const char *const const PLFLT const PLINT const PLINT const PLFLT * a
void plshade1(PLFLT *a, PLINT nx, PLINT ny, const char *defined, PLFLT left, PLFLT right, PLFLT bottom, PLFLT top, PLFLT shade_min, PLFLT shade_max, PLINT sh_cmap, PLFLT sh_color, PLINT sh_width, PLINT min_color, PLINT min_width, PLINT max_color, PLINT max_width, void(*fill)(PLINT, PLFLT *, PLFLT *), PLINT rectangular, void(*pltr)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data)
void scol0a(PLINT icol0, PLINT r, PLINT g, PLINT b, PLFLT a)
void sfont(PLINT family, PLINT style, PLINT weight)
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT PLFLT PLFLT PLINT PLFLT PLINT const PLINT const char *const PLINT const char *const * axis_opts
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)
subroutine plbox3(xopt, xlabel, xtick, nxsub, yopt, ylabel, ytick, nysub, zopt, zlabel, ztick, nzsub)
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT PLFLT low_cap_color
void gfci(PLUNICODE &pfci)
void plot3dc(const PLFLT *x, const PLFLT *y, const PLFLT *const *z, PLINT nx, PLINT ny, PLINT opt, const PLFLT *clevel, PLINT nlevel)
void svect(const PLFLT *arrow_x, const PLFLT *arrow_y, PLINT npts, bool fill)
void svpa(PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax)
char * plFindCommand(const char *fn)
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 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 shade1(const PLFLT *a, PLINT nx, PLINT ny, PLINT(*defined)(PLFLT, PLFLT), 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, void(*fill)(PLINT, const PLFLT *, const PLFLT *), bool rectangular, void(*pltr)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data)
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 meridians(void(*mapform)(PLINT, PLFLT *, PLFLT *), PLFLT dlong, PLFLT dlat, PLFLT minlong, PLFLT maxlong, PLFLT minlat, PLFLT maxlat)
static void pltr(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, void *pltr_data)
void spage(PLFLT xp, PLFLT yp, PLINT xleng, PLINT yleng, PLINT xoff, PLINT yoff)
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 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, PLINT 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 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)
int GetCursor(PLGraphicsIn *plg)
void slabelfunc(void(*label_func)(PLINT, PLFLT, char *, PLINT, PLPointer), PLPointer label_data)
void c_plsstrm(PLINT strm)
void PLFLT PLINT PLINT PLFLT PLFLT y
subroutine plaxes(x0, y0, xopt, xtick, nxsub, yopt, ytick, nysub)
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)
void syax(PLINT digmax, PLINT digits)
subroutine plspal0(filename)
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)
int parseopts(int *p_argc, const char **argv, PLINT mode)
void c_plscolbg(PLINT r, PLINT g, PLINT b)
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT PLFLT PLFLT high_cap_color
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)
int plMergeOpts(PLOptionTable *options, const char *name, const char **notes)
void ctime(PLINT year, PLINT month, PLINT day, PLINT hour, PLINT min, PLFLT sec, PLFLT &ctime)
void Coord_Xform_evaluator(PLFLT ox, PLFLT oy, PLFLT *nx, PLFLT *ny, PLPointer p)
subroutine plsetopt(opt, optarg)
void sdev(const char *devname)
static void tr2p(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data)
void gyax(PLINT &digmax, PLINT &digits)
subroutine plptex(x, y, dx, dy, xjust, text)
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 PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT PLFLT PLFLT PLINT cont_color
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)
int setopt(const char *opt, const char *optarg)
subroutine pllab(xlab, ylab, title)
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)
static void tr2(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data)
void(* label_func)(PLINT, PLFLT, char *, PLINT, PLPointer)
void cont(const PLFLT *const *f, PLINT nx, PLINT ny, PLINT kx, PLINT lx, PLINT ky, PLINT ly, const PLFLT *clevel, PLINT nlevel, void(*pltr)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data)
void dip2dc(PLFLT &xmin, PLFLT &ymin, PLFLT &xmax, PLFLT &ymax)
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT x_length
PLFLT f2eval2(PLINT ix, PLINT iy, PLPointer plf2eval_data)
void env(PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLINT just, PLINT axis)
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, void(*pltr)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data)
int SetOpt(const char *opt, const char *optarg)
void sdiplt(PLFLT xmin, PLFLT ymin, PLFLT xmax, PLFLT ymax)
void schr(PLFLT def, PLFLT scale)
static void tr1(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data)
void start(const char *devname, PLINT nx, PLINT ny)
void vect(const PLFLT *const *u, const PLFLT *const *v, PLINT nx, PLINT ny, PLFLT scale, void(*pltr)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data)
void Free2dGrid(PLFLT **f, PLINT nx, PLINT ny)
void c_plsdev(const char *devname)
PLFLT f2eval(PLINT ix, PLINT iy, PLPointer plf2eval_data)
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT PLFLT PLFLT PLINT PLFLT cont_width
void GetName(char *dir, char *subdir, char *filename, char **filespec)
void PLFLT * p_colorbar_height
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)
subroutine plspal1(filename, interpolate)
void lab(const char *xlabel, const char *ylabel, const char *tlabel)
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT bb_style
void string3(PLINT n, const PLFLT *x, const PLFLT *y, const PLFLT *z, const char *string)
void plgfile(FILE **p_file)
void plfshade(PLFLT(*f2eval)(PLINT, PLINT, PLPointer), PLPointer f2eval_data, PLFLT(*c2eval)(PLINT, PLINT, PLPointer), 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, void(*fill)(PLINT, const PLFLT *, const PLFLT *), PLINT rectangular, void(*pltr)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data)
void plsKeyEH(void(*KeyEH)(PLGraphicsIn *, void *, int *), void *KeyEH_data)
PLINT plGetInt(const char *s)
void gpage(PLFLT &xp, PLFLT &yp, PLINT &xleng, PLINT &yleng, PLINT &xoff, PLINT &yoff)
void gdidev(PLFLT &mar, PLFLT &aspect, PLFLT &jx, PLFLT &jy)
subroutine plstart(devname, nx, ny)
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 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)
subroutine plptex3(x, y, z, dx, dy, dz, sx, sy, sz, xjust, text)
void gFileDevs(const char ***p_menustr, const char ***p_devname, int *p_ndev)
void gvpd(PLFLT &xmin, PLFLT &xmax, PLFLT &ymin, PLFLT &ymax)
static void gradient(PLINT n, const PLFLT *x, const PLFLT *y, PLFLT angle)
static PLINT active_streams
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)
void hlsrgb(PLFLT h, PLFLT l, PLFLT s, PLFLT *p_r, PLFLT *p_g, PLFLT *p_b)
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT bg_color
void sdiplz(PLFLT xmin, PLFLT ymin, PLFLT xmax, PLFLT ymax)
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, void(*fill)(PLINT, const PLFLT *, const PLFLT *), bool rectangular, void(*pltr)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data)
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT PLFLT PLFLT PLINT PLFLT PLINT const PLINT * label_opts
void xormod(bool mode, bool *status)
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT PLFLT PLFLT PLINT PLFLT PLINT const PLINT const char *const PLINT const char *const const PLFLT const PLINT * sub_ticks
static void fill3(PLINT n, const PLFLT *x, const PLFLT *y, const PLFLT *z)
dx
if { $zoomopts($this,1) == 0 } then {
void gfont(PLINT &family, PLINT &style, PLINT &weight)
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)
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT PLFLT PLFLT PLINT PLFLT PLINT const PLINT const char *const PLINT const char *const const PLFLT * ticks
static void tr0(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data)
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 smin(PLFLT def, PLFLT scale)
void c_plsfnam(const char *fnam)
void pltr2p(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data)
void scmap0n(PLINT ncol0)
subroutine pltimefmt(fmt)
void gzax(PLINT &digmax, PLINT &digits)
void plcolorbar(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, const PLINT *label_opts, const char *const *label, PLINT n_axes, const char *const *axis_opts, const PLFLT *ticks, const PLINT *sub_ticks, const PLINT *n_values, const PLFLT *const *values) void my_plcolorbar(PLFLT *p_colorbar_width
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)
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT y_length
void gcolbga(PLINT &r, PLINT &g, PLINT &b, PLFLT &a)
void shade(const PLFLT *const *a, PLINT nx, PLINT ny, PLINT(*defined)(PLFLT, PLFLT), 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, void(*fill)(PLINT, const PLFLT *, const PLFLT *), bool rectangular, void(*pltr)(PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer), PLPointer pltr_data)
void PLFLT PLINT PLINT PLFLT PLFLT PLFLT PLFLT PLINT PLINT PLINT PLFLT PLFLT PLINT PLFLT PLINT n_labels