33 #define STDCALL __stdcall
68 const char *yopt,
PLFLT *ytick,
PLINT *nysub );
70 const char *yopt,
const char *ylabel,
PLFLT *ytick,
PLINT *nysub,
71 const char *zopt,
const char *zlabel,
PLFLT *ztick,
PLINT *nzsub );
87 void PLCONFIGTIME(
PLFLT *scale,
PLFLT *offset1,
PLFLT *offset2,
PLINT *ccontrol,
PLBOOL *ifbtime_offset,
PLINT *year,
PLINT *month,
PLINT *day,
PLINT *hour,
PLINT *
min,
PLFLT *sec );
110 void PLGDEV7(
char *dev,
int length );
117 void PLGFNAM7(
char *fnam,
int length );
143 void PLLAB7(
const char *xlab,
const char *ylab,
const char *title );
151 PLFLT *text_justification,
152 const PLINT *text_colors,
153 const PLINT *box_colors,
const PLINT *box_patterns,
154 const PLFLT *box_scales,
const PLFLT *box_line_widths,
155 const PLINT *line_colors,
const PLINT *line_styles,
156 const PLFLT *line_widths,
157 const PLINT *symbol_colors,
const PLFLT *symbol_scales,
158 const PLINT *symbol_numbers );
163 void PLMAP7(
const char *type,
210 void PLSDEV7(
const char *dev );
217 void PLSEED(
unsigned int *s );
237 void PLSPAL07(
const char *filename );
251 void PLSTRIPC(
PLINT *
id,
const char *xspec,
const char *yspec,
257 const char *legline0,
const char *legline1,
258 const char *legline2,
const char *legline3,
259 const char *labx,
const char *laby,
const char *labtop );
286 ( *pltransform )( &
x, &
y, tx, ty );
328 c_plarc( *x, *y, *a, *b, *angle1, *angle2, *rotate, *fill );
335 c_plaxes( *x0, *y0, xopt, *xtick, *nxsub, yopt, *ytick, *nysub );
341 c_plbin( *nbin, x, y, *center );
347 c_plbtime( year, month, day, hour, min, sec, *ctime );
358 const char *yopt,
PLFLT *ytick,
PLINT *nysub )
360 c_plbox( xopt, *xtick, *nxsub, yopt, *ytick, *nysub );
365 const char *yopt,
const char *ylabel,
PLFLT *ytick,
PLINT *nysub,
366 const char *zopt,
const char *zlabel,
PLFLT *ztick,
PLINT *nzsub )
368 c_plbox3( xopt, xlabel, *xtick, *nxsub,
369 yopt, ylabel, *ytick, *nysub,
370 zopt, zlabel, *ztick, *nzsub );
419 a = (
PLFLT **) malloc(
sizeof (
PLFLT * ) * (size_t) ( *n_axes ) );
420 for ( i = 0; i < *n_axes; i++ )
422 a[i] = (
PLFLT *) malloc(
sizeof (
PLFLT ) * (size_t) n_values[i] );
423 for ( j = 0; j < n_values[i]; j++ )
425 a[i][j] = values[i + j * ( *n_axes )];
430 *opt, *position, *x, *y,
431 *x_length, *y_length,
432 *bg_color, *bb_color, *bb_style,
433 *low_cap_color, *high_cap_color,
434 *cont_color, *cont_width,
438 n_values, (
const PLFLT *
const *) a );
443 for ( i = 0; i < *n_axes; i++ )
451 PLCONFIGTIME(
PLFLT *scale,
PLFLT *offset1,
PLFLT *offset2,
PLINT *ccontrol,
PLBOOL *ifbtime_offset,
PLINT *year,
PLINT *month,
PLINT *day,
PLINT *hour,
PLINT *
min,
PLFLT *sec )
453 c_plconfigtime( *scale, *offset1, *offset2, *ccontrol, *ifbtime_offset, *year, *month, *day, *hour, *min, *sec );
465 c_plctime( *year, *month, *day, *hour, *min, *sec, ctime );
484 c_plenv( *xmin, *xmax, *ymin, *ymax, *just, *axis );
491 c_plenv0( *xmin, *xmax, *ymin, *ymax, *just, *axis );
657 c_plgpage( xpmm, ypmm, xwid, ywid, xoff, yoff );
705 c_plgvpd( p_xmin, p_xmax, p_ymin, p_ymax );
711 c_plgvpw( p_xmin, p_xmax, p_ymin, p_ymax );
736 c_plhist( *n, data, *datmin, *datmax, *nbin, *oldwin );
745 #endif // PL_DEPRECATED
765 for ( i = 0; i < *
nx; i++ )
767 for ( j = 0; j < *ny; j++ )
769 pidata[i][j] = idata[i + j * ( *nx )];
774 *xmin, *xmax, *ymin, *ymax, *zmin, *zmax,
775 *Dxmin, *Dxmax, *Dymin, *Dymax,
776 *valuemin, *valuemax );
792 for ( i = 0; i < *
nx; i++ )
794 for ( j = 0; j < *ny; j++ )
796 pidata[i][j] = idata[i + j * ( *nx )];
801 *xmin, *xmax, *ymin, *ymax, *zmin, *zmax,
802 *Dxmin, *Dxmax, *Dymin, *Dymax );
820 PLLAB7(
const char *xlab,
const char *ylab,
const char *title )
833 ( *pllabelfunc )( &axis, &
value,
label, &length, length );
837 while ( ( i >= 0 ) && ( label[i] ==
' ' ) )
854 p_string = (
char **) malloc(
sizeof (
char * ) * (size_t) ( *number ) );
855 data = (
char *) malloc(
sizeof (
char * ) * (size_t) ( ( *number ) * ( length + 1 ) ) );
857 for ( j = 0; j < ( *number ); j++ )
859 p_string[j] = data + j * ( length + 1 );
860 memcpy( p_string[j], &
string[j * length], (
size_t) length );
861 p_string[j][length] =
'\0';
863 while ( ( i >= 0 ) && ( p_string[j][i] ==
' ' ) )
865 p_string[j][i + 1] =
'\0';
891 PLFLT *p_legend_width,
PLFLT *p_legend_height,
897 PLFLT *text_justification,
898 const PLINT *text_colors,
899 const PLINT *box_colors,
const PLINT *box_patterns,
900 const PLFLT *box_scales,
const PLFLT *box_line_widths,
901 const PLINT *line_colors,
const PLINT *line_styles,
902 const PLFLT *line_widths,
903 const PLINT *symbol_colors,
const PLFLT *symbol_scales,
904 const PLINT *symbol_numbers )
907 *opt, *position, *x, *y, *plot_width,
908 *bg_color, *bb_color, *bb_style,
911 *text_offset, *text_scale, *text_spacing,
914 box_colors, box_patterns,
915 box_scales, box_line_widths,
916 line_colors, line_styles,
918 symbol_colors, symbol_scales,
954 ( *plmapform )( &n,
x,
y );
963 c_plmap( plmapf2c, type, *minlong, *maxlong, *minlat, *maxlat );
965 c_plmap( NULL, type, *minlong, *maxlong, *minlat, *maxlat );
974 c_plmeridians( plmapf2c, *dlong, *dlat, *minlong, *maxlong, *minlat, *maxlat );
976 c_plmeridians( NULL, *dlong, *dlat, *minlong, *maxlong, *minlat, *maxlat );
988 c_plmtex( side, *disp, *pos, *just, text );
994 c_plmtex3( side, *disp, *pos, *just, text );
1002 if ( *numargs <= MAXARGS )
1006 for ( i = 0; i < *numargs; i++ )
1008 argv[i] = iargs + ( i * *maxindex );
1014 fprintf( stderr,
"plparseopts7: numargs too large\n" );
1026 c_plpath( *n, *x1, *y1, *x2, *y2 );
1062 c_plptex( *x, *y, *dx, *dy, *just, text );
1072 c_plptex3( *x, *y, *z, *dx, *dy, *dz, *sx, *sy, *sz, *just, text );
1087 #ifdef PL_DEPRECATED
1091 c_plrgb( *red, *green, *blue );
1093 #endif // PL_DEPRECATED
1095 #ifdef PL_DEPRECATED
1101 #endif // PL_DEPRECATED
1149 c_plscmap1l( *itype, *npts, intensity, coord1, coord2, coord3, alt_hue_path );
1156 c_plscmap1l( *itype, *npts, intensity, coord1, coord2, coord3, NULL );
1163 c_plscmap1la( *itype, *npts, intensity, coord1, coord2, coord3, a, alt_hue_path );
1170 c_plscmap1la( *itype, *npts, intensity, coord1, coord2, coord3, a, NULL );
1237 c_plsdimap( *dimxmin, *dimxmax, *dimymin, *dimymax,
1238 *dimxpmm, *dimypmm );
1260 PLSEED(
unsigned int *s )
1273 #define PLSETMAPFORMC FNAME( PLSETMAPFORMC, plsetmapformc )
1274 #define PLCLEARMAPFORMC FNAME( PLCLEARMAPFORMC, plclearmapformc )
1325 pllabelfunc = labelfunc;
1333 pllabelfunc = labelfunc;
1399 c_plspage( *xpmm, *ypmm, *xwid, *ywid, *xoff, *yoff );
1453 pltransform = transformfunc;
1499 const char *legline0,
const char *legline1,
1500 const char *legline2,
const char *legline3,
1501 const char *labx,
const char *laby,
const char *labtop )
1503 const char* legline[4];
1504 legline[0] = legline0;
1505 legline[1] = legline1;
1506 legline[2] = legline2;
1507 legline[3] = legline3;
1510 *xmin, *xmax, *xjump, *ymin, *ymax,
1514 colline, styline, legline,
1515 labx, laby, labtop );
1533 c_plsvect( arrowx, arrowy, *npts, *fill );
1545 c_plsvpa( *xmin, *xmax, *ymin, *ymax );
1593 c_plvpas( *xmin, *xmax, *ymin, *ymax, *aspect );
1599 c_plvpor( *xmin, *xmax, *ymin, *ymax );
1614 c_plw3d( *basex, *basey, *height,
1615 *xmin, *xmax, *ymin, *ymax, *zmin, *zmax, *alt, *az );
1627 c_plwind( *xmin, *xmax, *ymin, *ymax );