31 #define STDCALL __stdcall
66 const char *yopt,
PLFLT *ytick,
PLINT *nysub );
68 const char *yopt,
const char *ylabel,
PLFLT *ytick,
PLINT *nysub,
69 const char *zopt,
const char *zlabel,
PLFLT *ztick,
PLINT *nzsub );
85 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 );
108 void PLGDEV7(
char *dev,
int length );
115 void PLGFNAM7(
char *fnam,
int length );
141 void PLLAB7(
const char *xlab,
const char *ylab,
const char *title );
149 PLFLT *text_justification,
150 const PLINT *text_colors,
151 const PLINT *box_colors,
const PLINT *box_patterns,
152 const PLFLT *box_scales,
const PLFLT *box_line_widths,
153 const PLINT *line_colors,
const PLINT *line_styles,
154 const PLFLT *line_widths,
155 const PLINT *symbol_colors,
const PLFLT *symbol_scales,
156 const PLINT *symbol_numbers );
161 void PLMAP7(
const char *type,
167 void PLMAPSTRING7(
const char *type,
const char *
string,
216 void PLSDEV7(
const char *dev );
223 void PLSEED(
unsigned int *s );
225 void PLSETOPT7(
const char *opt,
const char *optarg );
243 void PLSPAL07(
const char *filename );
257 void PLSTRIPC(
PLINT *
id,
const char *xspec,
const char *yspec,
263 const char *legline0,
const char *legline1,
264 const char *legline2,
const char *legline3,
265 const char *labx,
const char *laby,
const char *labtop );
292 ( *pltransform )( &x, &y, tx, ty );
334 c_plarc( *x, *y, *a, *b, *angle1, *angle2, *rotate, *fill );
341 c_plaxes( *x0, *y0, xopt, *xtick, *nxsub, yopt, *ytick, *nysub );
347 c_plbin( *nbin, x, y, *center );
353 c_plbtime( year, month, day, hour, min, sec, *ctime );
364 const char *yopt,
PLFLT *ytick,
PLINT *nysub )
366 c_plbox( xopt, *xtick, *nxsub, yopt, *ytick, *nysub );
371 const char *yopt,
const char *ylabel,
PLFLT *ytick,
PLINT *nysub,
372 const char *zopt,
const char *zlabel,
PLFLT *ztick,
PLINT *nzsub )
374 c_plbox3( xopt, xlabel, *xtick, *nxsub,
375 yopt, ylabel, *ytick, *nysub,
376 zopt, zlabel, *ztick, *nzsub );
425 a = (
PLFLT **) malloc(
sizeof (
PLFLT * ) * (size_t) ( *n_axes ) );
426 for ( i = 0; i < *n_axes; i++ )
428 a[i] = (
PLFLT *) malloc(
sizeof (
PLFLT ) * (size_t) n_values[i] );
429 for ( j = 0; j < n_values[i]; j++ )
431 a[i][j] = values[i + j * ( *n_axes )];
436 *opt, *position, *x, *y,
437 *x_length, *y_length,
438 *bg_color, *bb_color, *bb_style,
439 *low_cap_color, *high_cap_color,
440 *cont_color, *cont_width,
444 n_values, (
const PLFLT *
const *) a );
449 for ( i = 0; i < *n_axes; i++ )
457 PLCONFIGTIME(
PLFLT *scale,
PLFLT *offset1,
PLFLT *offset2,
PLINT *ccontrol,
PLBOOL *ifbtime_offset,
PLINT *year,
PLINT *month,
PLINT *day,
PLINT *hour,
PLINT *
min,
PLFLT *sec )
459 c_plconfigtime( *scale, *offset1, *offset2, *ccontrol, *ifbtime_offset, *year, *month, *day, *hour, *min, *sec );
471 c_plctime( *year, *month, *day, *hour, *min, *sec, ctime );
490 c_plenv( *xmin, *xmax, *ymin, *ymax, *just, *axis );
497 c_plenv0( *xmin, *xmax, *ymin, *ymax, *just, *axis );
663 c_plgpage( xpmm, ypmm, xwid, ywid, xoff, yoff );
711 c_plgvpd( p_xmin, p_xmax, p_ymin, p_ymax );
717 c_plgvpw( p_xmin, p_xmax, p_ymin, p_ymax );
742 c_plhist( *n, data, *datmin, *datmax, *nbin, *oldwin );
751 #endif // PL_DEPRECATED
771 for ( i = 0; i < *nx; i++ )
773 for ( j = 0; j < *ny; j++ )
775 pidata[i][j] = idata[i + j * ( *nx )];
780 *xmin, *xmax, *ymin, *ymax, *zmin, *zmax,
781 *Dxmin, *Dxmax, *Dymin, *Dymax,
782 *valuemin, *valuemax );
798 for ( i = 0; i < *nx; i++ )
800 for ( j = 0; j < *ny; j++ )
802 pidata[i][j] = idata[i + j * ( *nx )];
807 *xmin, *xmax, *ymin, *ymax, *zmin, *zmax,
808 *Dxmin, *Dxmax, *Dymin, *Dymax );
826 PLLAB7(
const char *xlab,
const char *ylab,
const char *title )
839 ( *pllabelfunc )( &axis, &
value, label, &length, length );
843 while ( ( i >= 0 ) && ( label[i] ==
' ' ) )
860 p_string = (
char **) malloc(
sizeof (
char * ) * (size_t) ( *number ) );
861 data = (
char *) malloc(
sizeof (
char * ) * (size_t) ( ( *number ) * ( length + 1 ) ) );
863 for ( j = 0; j < ( *number ); j++ )
865 p_string[j] = data + j * ( length + 1 );
866 memcpy( p_string[j], &
string[j * length], (
size_t) length );
867 p_string[j][length] =
'\0';
869 while ( ( i >= 0 ) && ( p_string[j][i] ==
' ' ) )
871 p_string[j][i + 1] =
'\0';
897 PLFLT *p_legend_width,
PLFLT *p_legend_height,
903 PLFLT *text_justification,
904 const PLINT *text_colors,
905 const PLINT *box_colors,
const PLINT *box_patterns,
906 const PLFLT *box_scales,
const PLFLT *box_line_widths,
907 const PLINT *line_colors,
const PLINT *line_styles,
908 const PLFLT *line_widths,
909 const PLINT *symbol_colors,
const PLFLT *symbol_scales,
910 const PLINT *symbol_numbers )
913 *opt, *position, *x, *y, *plot_width,
914 *bg_color, *bb_color, *bb_style,
917 *text_offset, *text_scale, *text_spacing,
920 box_colors, box_patterns,
921 box_scales, box_line_widths,
922 line_colors, line_styles,
924 symbol_colors, symbol_scales,
960 ( *plmapform )( &n, x, y );
969 c_plmap( plmapf2c, type, *minlong, *maxlong, *minlat, *maxlat );
971 c_plmap( NULL, type, *minlong, *maxlong, *minlat, *maxlat );
979 PLINT *pplotentries = plotentries;
980 if ( *nplotentries == 0 )
983 c_plmapfill( plmapf2c, type, *minlong, *maxlong, *minlat, *maxlat, pplotentries, *nplotentries );
985 c_plmapfill( NULL, type, *minlong, *maxlong, *minlat, *maxlat, pplotentries, *nplotentries );
993 PLINT *pplotentries = plotentries;
994 if ( *nplotentries == 0 )
997 c_plmapline( plmapf2c, type, *minlong, *maxlong, *minlat, *maxlat, pplotentries, *nplotentries );
999 c_plmapline( NULL, type, *minlong, *maxlong, *minlat, *maxlat, pplotentries, *nplotentries );
1007 PLINT *pplotentries = plotentries;
1008 if ( *nplotentries == 0 )
1009 pplotentries = NULL;
1011 c_plmapstring( plmapf2c, type,
string, *minlong, *maxlong, *minlat, *maxlat, pplotentries, *nplotentries );
1013 c_plmapstring( NULL, type,
string, *minlong, *maxlong, *minlat, *maxlat, pplotentries, *nplotentries );
1022 c_plmaptex( plmapf2c, type, *dx, *dy, *just, text, *minlong, *maxlong, *minlat, *maxlat, *plotentry );
1024 c_plmaptex( NULL, type, *dx, *dy, *just, text, *minlong, *maxlong, *minlat, *maxlat, *plotentry );
1032 c_plmeridians( plmapf2c, *dlong, *dlat, *minlong, *maxlong, *minlat, *maxlat );
1034 c_plmeridians( NULL, *dlong, *dlat, *minlong, *maxlong, *minlat, *maxlat );
1046 c_plmtex( side, *disp, *pos, *just, text );
1052 c_plmtex3( side, *disp, *pos, *just, text );
1060 if ( *numargs <= MAXARGS )
1064 for ( i = 0; i < *numargs; i++ )
1066 argv[i] = iargs + ( i * *maxindex );
1072 fprintf( stderr,
"plparseopts7: numargs too large\n" );
1084 c_plpath( *n, *x1, *y1, *x2, *y2 );
1120 c_plptex( *x, *y, *dx, *dy, *just, text );
1128 PLFLT *just,
const char *text )
1130 c_plptex3( *x, *y, *z, *dx, *dy, *dz, *sx, *sy, *sz, *just, text );
1145 #ifdef PL_DEPRECATED
1149 c_plrgb( *red, *green, *blue );
1151 #endif // PL_DEPRECATED
1153 #ifdef PL_DEPRECATED
1159 #endif // PL_DEPRECATED
1207 c_plscmap1l( *itype, *npts, intensity, coord1, coord2, coord3, alt_hue_path );
1214 c_plscmap1l( *itype, *npts, intensity, coord1, coord2, coord3, NULL );
1221 c_plscmap1la( *itype, *npts, intensity, coord1, coord2, coord3, a, alt_hue_path );
1228 c_plscmap1la( *itype, *npts, intensity, coord1, coord2, coord3, a, NULL );
1295 c_plsdimap( *dimxmin, *dimxmax, *dimymin, *dimymax,
1296 *dimxpmm, *dimypmm );
1318 PLSEED(
unsigned int *s )
1331 #define PLSETMAPFORMC FNAME( PLSETMAPFORMC, plsetmapformc )
1332 #define PLCLEARMAPFORMC FNAME( PLCLEARMAPFORMC, plclearmapformc )
1383 pllabelfunc = labelfunc;
1391 pllabelfunc = labelfunc;
1457 c_plspage( *xpmm, *ypmm, *xwid, *ywid, *xoff, *yoff );
1511 pltransform = transformfunc;
1557 const char *legline0,
const char *legline1,
1558 const char *legline2,
const char *legline3,
1559 const char *labx,
const char *laby,
const char *labtop )
1561 const char* legline[4];
1562 legline[0] = legline0;
1563 legline[1] = legline1;
1564 legline[2] = legline2;
1565 legline[3] = legline3;
1568 *xmin, *xmax, *xjump, *ymin, *ymax,
1572 colline, styline, legline,
1573 labx, laby, labtop );
1591 c_plsvect( arrowx, arrowy, *npts, *fill );
1603 c_plsvpa( *xmin, *xmax, *ymin, *ymax );
1651 c_plvpas( *xmin, *xmax, *ymin, *ymax, *aspect );
1657 c_plvpor( *xmin, *xmax, *ymin, *ymax );
1672 c_plw3d( *basex, *basey, *height,
1673 *xmin, *xmax, *ymin, *ymax, *zmin, *zmax, *alt, *az );
1685 c_plwind( *xmin, *xmax, *ymin, *ymax );