1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900
|
//typedef double PLFLT;
#define PLFLT double
//typedef unsigned int PLUNICODE;
//typedef int PLINT;
#define PLUNICODE long long
#define PLINT int
//typedef PLINT PLBOOL;
#define PLBOOL boolean
void
c_pl_setcontlabelformat(PLINT lexp, PLINT sigdig);
void
c_pl_setcontlabelparam(PLFLT offset, PLFLT size, PLFLT spacing, PLINT active);
void
c_pladv(PLINT page);
void
c_plarc(PLFLT x, PLFLT y, PLFLT a, PLFLT b, PLFLT angle1, PLFLT angle2,
PLFLT rotate, PLBOOL fill);
void
c_plaxes(PLFLT x0, PLFLT y0, const char *xopt, PLFLT xtick, PLINT nxsub,
const char *yopt, PLFLT ytick, PLINT nysub);
void
c_plbin(PLINT nbin, PLFLT *x, PLFLT *y, plplot_bin_style opt);
void
c_plbtime(PLINT *year, PLINT *month, PLINT *day, PLINT *hour, PLINT *min, PLFLT *sec, PLFLT ctime);
void
c_plbop(void);
void
c_plbox(const char *xopt, PLFLT xtick, PLINT nxsub,
const char *yopt, PLFLT ytick, PLINT nysub);
void
c_plbox3(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);
void
c_plcalc_world(PLFLT rx, PLFLT ry, PLFLT *wx, PLFLT *wy, PLINT *window);
void
c_plclear(void);
void
c_plcol0(PLINT icol0);
void
c_plcol1(PLFLT col1);
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_plcont(PLFLT **f, PLINT nx, PLINT ny, PLINT kx, PLINT lx,
PLINT ky, PLINT ly, PLFLT *clevel, PLINT nlevel,
void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer),
PLPointer pltr_data);
void
plfcont(PLFLT (*f2eval) (PLINT, PLINT, PLPointer),
PLPointer f2eval_data,
PLINT nx, PLINT ny, PLINT kx, PLINT lx,
PLINT ky, PLINT ly, PLFLT *clevel, PLINT nlevel,
void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer),
PLPointer pltr_data);
*/
void
c_plcpstrm(PLINT iplsr, PLBOOL flags);
void
c_plctime(PLINT year, PLINT month, PLINT day, PLINT hour, PLINT min, PLFLT sec, PLFLT *ctime);
/*
void
pldid2pc(PLFLT *xmin, PLFLT *ymin, PLFLT *xmax, PLFLT *ymax);
void
pldip2dc(PLFLT *xmin, PLFLT *ymin, PLFLT *xmax, PLFLT *ymax);
*/
void
c_plend(void);
void
c_plend1(void);
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_pleop(void);
void
c_plerrx(PLINT n, PLFLT *xmin, PLFLT *xmax, PLFLT *y);
void
c_plerry(PLINT n, PLFLT *x, PLFLT *ymin, PLFLT *ymax);
void
c_plfamadv(void);
void
c_plfill(PLINT n, PLFLT *x, PLFLT *y);
void
c_plfill3(PLINT n, PLFLT *x, PLFLT *y, PLFLT *z);
void
c_plflush(void);
void
c_plfont(PLINT ifont);
void
c_plfontld(PLINT fnt);
void
c_plgchr(PLFLT *p_def, PLFLT *p_ht);
void
c_plgcmap1_range( PLFLT *min_color, PLFLT *max_color );
void
c_plgcol0(PLINT icol0, PLINT *r, PLINT *g, PLINT *b);
void
c_plgcol0a(PLINT icol0, PLINT *r, PLINT *g, PLINT *b, PLFLT *a);
void
c_plgcolbg(PLINT *r, PLINT *g, PLINT *b);
void
c_plgcolbga(PLINT *r, PLINT *g, PLINT *b, PLFLT *a);
void
c_plgcompression(PLINT *compression);
void
c_plgdev(char *p_dev);
void
c_plgdidev(PLFLT *p_mar, PLFLT *p_aspect, PLFLT *p_jx, PLFLT *p_jy);
void
c_plgdiori(PLFLT *p_rot);
void
c_plgdiplt(PLFLT *p_xmin, PLFLT *p_ymin, PLFLT *p_xmax, PLFLT *p_ymax);
enum plplot_draw_mode_enum
c_plgdrawmode();
void
c_plgfci(PLUNICODE *pfci);
void
c_plgfam(PLINT *p_fam, PLINT *p_num, PLINT *p_bmax);
void
c_plgfnam(char *fnam);
void
c_plgfont(PLINT *p_family, PLINT *p_style, PLINT *p_weight);
void
c_plglevel(plplot_run_level *p_level);
void
c_plgpage(PLFLT *p_xp, PLFLT *p_yp,
PLINT *p_xleng, PLINT *p_yleng, PLINT *p_xoff, PLINT *p_yoff);
void
c_plgra(void);
void
c_plgradient( PLINT n, PLFLT *x, PLFLT *y, PLFLT angle );
/*
void
c_plgriddata(PLFLT *x, PLFLT *y, PLFLT *z, PLINT npts,
PLFLT *xg, PLINT nptsx, PLFLT *yg, PLINT nptsy,
PLFLT **zg, PLINT type, PLFLT data);
void
plfgriddata( PLFLT *x, PLFLT *y, PLFLT *z, PLINT npts,
PLFLT *xg, PLINT nptsx, PLFLT *yg, PLINT nptsy,
PLF2OPS zops, PLPointer zgp, PLINT type, PLFLT data );
*/
void
c_plgspa(PLFLT *xmin, PLFLT *xmax, PLFLT *ymin, PLFLT *ymax);
void
c_plgstrm(PLINT *p_strm);
void
c_plgver(char *p_ver);
void
c_plgvpd(PLFLT *p_xmin, PLFLT *p_xmax, PLFLT *p_ymin, PLFLT *p_ymax);
void
c_plgvpw(PLFLT *p_xmin, PLFLT *p_xmax, PLFLT *p_ymin, PLFLT *p_ymax);
void
c_plgxax(PLINT *p_digmax, PLINT *p_digits);
void
c_plgyax(PLINT *p_digmax, PLINT *p_digits);
void
c_plgzax(PLINT *p_digmax, PLINT *p_digits);
void
c_plhist(PLINT n, PLFLT *data, PLFLT datmin, PLFLT datmax,
PLINT nbin, plplot_hist_style opt);
void
c_plhlsrgb(PLFLT h, PLFLT l, PLFLT s, PLFLT *p_r, PLFLT *p_g, PLFLT *p_b);
void
c_plinit(void);
void
c_pljoin(PLFLT x1, PLFLT y1, PLFLT x2, PLFLT y2);
void
c_pllab(const char *xlabel, const char *ylabel, const char *tlabel);
/*
void
c_pllegend( PLFLT *p_legend_width, PLFLT *p_legend_height,
plplot_legend_opt opt, PLFLT x, PLFLT y, PLFLT plot_width,
PLINT bg_color, PLINT bb_color, PLINT bb_style,
PLINT nrow, PLINT ncolumn,
PLINT nlegend, const plplot_legend_opt *opt_array,
PLFLT text_offset, PLFLT text_scale, PLFLT text_spacing,
PLFLT text_justification,
const PLINT *text_colors, const char **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 **symbols );
void
c_plcolorbar( PLFLT *p_colorbar_width, PLFLT *p_colorbar_height,
plplot_colorbar_opt opt, plplot_position_opt 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,
PLFLT ticks, PLINT sub_ticks,
const char *axis_opts, const char *label,
PLINT n_values, const PLFLT *values );
*/
void
c_pllightsource(PLFLT x, PLFLT y, PLFLT z);
void
c_plline(PLINT n, PLFLT *x, PLFLT *y);
void
c_plline3(PLINT n, PLFLT *x, PLFLT *y, PLFLT *z);
void
c_pllsty(PLINT lin);
/*
void
c_plmap( void (*mapform)(PLINT, PLFLT *, PLFLT *), const char *type,
PLFLT minlong, PLFLT maxlong, PLFLT minlat, PLFLT maxlat );
void
c_plmeridians( void (*mapform)(PLINT, PLFLT *, PLFLT *),
PLFLT dlong, PLFLT dlat,
PLFLT minlong, PLFLT maxlong, PLFLT minlat, PLFLT maxlat );
*/
void
c_plmesh(PLFLT *x, PLFLT *y, PLFLT **z, PLINT nx, PLINT ny, plplot3d_style opt);
void
c_plmeshc(PLFLT *x, PLFLT *y, PLFLT **z, PLINT nx, PLINT ny, plplot3d_style opt,
PLFLT *clevel, PLINT nlevel);
/*
void
plfmeshc( PLFLT *x, PLFLT *y, PLF2OPS zops, PLPointer zp,
PLINT nx, PLINT ny, PLINT opt, PLFLT *clevel, PLINT nlevel );
*/
void
c_plmkstrm(PLINT *p_strm);
void
c_plmtex(const char *side, PLFLT disp, PLFLT pos, PLFLT just,
const char *text);
void
c_plmtex3(const char *side, PLFLT disp, PLFLT pos, PLFLT just,
const char *text);
void
c_plot3d(PLFLT *x, PLFLT *y, PLFLT **z,
PLINT nx, PLINT ny, plplot3d_style opt, PLBOOL side);
/*
void
plfplot3d( PLFLT *x, PLFLT *y, PLF2OPS zops, PLPointer zp,
PLINT nx, PLINT ny, PLINT opt, PLBOOL side );
*/
void
c_plot3dc(PLFLT *x, PLFLT *y, PLFLT **z,
PLINT nx, PLINT ny, plplot3d_style opt,
PLFLT *clevel, PLINT nlevel);
/*
void
plfplot3dc( PLFLT *x, PLFLT *y, PLF2OPS zops, PLPointer zp,
PLINT nx, PLINT ny, PLINT opt, PLFLT *clevel, PLINT nlevel );
void
c_plot3dcl(PLFLT *x, PLFLT *y, PLFLT **z,
PLINT nx, PLINT ny, PLINT opt,
PLFLT *clevel, PLINT nlevel,
PLINT ixstart, PLINT ixn, PLINT *indexymin, PLINT*indexymax);
void
plfplot3dcl( PLFLT *x, PLFLT *y, PLF2OPS zops, PLPointer zp,
PLINT nx, PLINT ny, PLINT opt,
PLFLT *clevel, PLINT nlevel,
PLINT ixstart, PLINT ixn, PLINT *indexymin, PLINT *indexymax );
*/
void
c_plpat(PLINT nlin, PLINT *inc, PLINT *del);
void
c_plpath(PLINT n, PLFLT x1, PLFLT y1, PLFLT x2, PLFLT y2);
void
c_plpoin(PLINT n, PLFLT *x, PLFLT *y, PLINT code);
void
c_plpoin3(PLINT n, PLFLT *x, PLFLT *y, PLFLT *z, PLINT code);
/*
void
c_plpoly3(PLINT n, PLFLT *x, PLFLT *y, PLFLT *z, PLBOOL *draw, PLBOOL ifcc);
*/
void
c_plprec(PLINT setp, PLINT prec);
void
c_plpsty(PLINT patt);
void
c_plptex(PLFLT x, PLFLT y, PLFLT dx, PLFLT dy, PLFLT just, const char *text);
void
c_plptex3(PLFLT wx, PLFLT wy, PLFLT wz, PLFLT dx, PLFLT dy, PLFLT dz,
PLFLT sx, PLFLT sy, PLFLT sz, PLFLT just, const char *text);
PLFLT
c_plrandd(void);
void
c_plreplot(void);
void
c_plrgbhls(PLFLT r, PLFLT g, PLFLT b, PLFLT *p_h, PLFLT *p_l, PLFLT *p_s);
void
c_plschr(PLFLT def, PLFLT scale);
void
c_plscmap0(PLINT *r, PLINT *g, PLINT *b, PLINT ncol0);
void
c_plscmap0a(PLINT *r, PLINT *g, PLINT *b, PLFLT *a, PLINT ncol0);
void
c_plscmap0n(PLINT ncol0);
void
c_plscmap1(PLINT *r, PLINT *g, PLINT *b, PLINT ncol1);
void
c_plscmap1a(PLINT *r, PLINT *g, PLINT *b, PLFLT *a, PLINT ncol1);
void
c_plscmap1l(PLBOOL itype, PLINT npts, PLFLT *intensity,
PLFLT *coord1, PLFLT *coord2, PLFLT *coord3, PLBOOL *alt_hue_path);
void
c_plscmap1la(PLBOOL itype, PLINT npts, PLFLT *intensity,
PLFLT *coord1, PLFLT *coord2, PLFLT *coord3, PLFLT *a, PLBOOL *alt_hue_path);
void
c_plscmap1n(PLINT ncol1);
void
c_plscmap1_range( PLFLT min_color, PLFLT max_color );
void
c_plscol0(PLINT icol0, PLINT r, PLINT g, PLINT b);
void
c_plscol0a(PLINT icol0, PLINT r, PLINT g, PLINT b, PLFLT a);
void
c_plscolbg(PLINT r, PLINT g, PLINT b);
void
c_plscolbga(PLINT r, PLINT g, PLINT b, PLFLT a);
void
c_plscolor(PLINT color);
void
c_plscompression(PLINT compression);
void
c_plsdev(const char *devname);
void
c_plsdidev(PLFLT mar, PLFLT aspect, PLFLT jx, PLFLT jy);
void
c_plsdimap(PLINT dimxmin, PLINT dimxmax, PLINT dimymin, PLINT dimymax,
PLFLT dimxpmm, PLFLT dimypmm);
void
c_plsdiori(PLFLT rot);
void
c_plsdiplt(PLFLT xmin, PLFLT ymin, PLFLT xmax, PLFLT ymax);
void
c_plsdiplz(PLFLT xmin, PLFLT ymin, PLFLT xmax, PLFLT ymax);
void
c_plseed(unsigned int s);
void
c_plsesc(char esc);
void
c_plsfam(PLINT fam, PLINT num, PLINT bmax);
void
c_plsfci(PLUNICODE fci);
void
c_plsfnam(const char *fnam);
void
c_plsfont( enum plplot_fci_family_enum family, enum plplot_fci_style_enum style, enum plplot_fci_weight_enum weight);
/*
void
c_plshade(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, PLFLT *, PLFLT *), PLBOOL rectangular,
void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer),
PLPointer pltr_data);
void
c_plshade1(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, PLFLT *, PLFLT *), PLBOOL rectangular,
void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer),
PLPointer pltr_data);
void
c_plshades( PLFLT **a, PLINT nx, PLINT ny, PLINT (*defined) (PLFLT, PLFLT),
PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax,
PLFLT *clevel, PLINT nlevel, PLFLT fill_width,
PLINT cont_color, PLFLT cont_width,
void (*fill) (PLINT, PLFLT *, PLFLT *), PLBOOL rectangular,
void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer),
PLPointer pltr_data);
void
plfshades( PLF2OPS zops, PLPointer zp, PLINT nx, PLINT ny,
PLINT ( *defined )( PLFLT, PLFLT ),
PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax,
PLFLT *clevel, PLINT nlevel, PLFLT fill_width,
PLINT cont_color, PLFLT cont_width,
void ( *fill )( PLINT, PLFLT *, PLFLT * ), PLINT rectangular,
void ( *pltr )( PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer ),
PLPointer pltr_data );
void
plfshade(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, PLFLT *, PLFLT *), PLBOOL rectangular,
void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer),
PLPointer pltr_data);
void
plfshade1( PLF2OPS zops, PLPointer zp, PLINT nx, PLINT ny,
PLINT ( *defined )( PLFLT, PLFLT ),
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, PLFLT *, PLFLT * ), PLINT rectangular,
void ( *pltr )( PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer ),
PLPointer pltr_data );
void
c_plslabelfunc(void (*label_func)(PLINT, PLFLT, char *, PLINT, PLPointer),
PLPointer label_data);
*/
void
c_plsmaj(PLFLT def, PLFLT scale);
/*
void
c_plsmem(PLINT maxx, PLINT maxy, void *plotmem);
void
c_plsmema( PLINT maxx, PLINT maxy, void *plotmem );
*/
void
c_plsmin(PLFLT def, PLFLT scale);
void
c_plsdrawmode(enum plplot_draw_mode_enum mode);
void
c_plsori(PLINT ori);
void
c_plspage(PLFLT xp, PLFLT yp, PLINT xleng, PLINT yleng,
PLINT xoff, PLINT yoff);
void
c_plspal0(const char *filename);
void
c_plspal1(const char *filename, PLBOOL interpolate);
void
c_plspause(PLBOOL pause);
void
c_plsstrm(PLINT strm);
void
c_plssub(PLINT nx, PLINT ny);
void
c_plssym(PLFLT def, PLFLT scale);
void
c_plstar(PLINT nx, PLINT ny);
void
c_plstart(const char *devname, PLINT nx, PLINT ny);
/*
void
c_plstransform( void ( *coordinate_transform )( PLFLT, PLFLT, PLFLT*, PLFLT*, PLPointer ), PLPointer coordinate_transform_data );
*/
void
c_plstring( PLINT n, PLFLT *x, PLFLT *y, const char *string );
void
c_plstring3( PLINT n, PLFLT *x, PLFLT *y, PLFLT *z, const char *string );
void
c_plstripa(PLINT id, PLINT pen, PLFLT x, PLFLT y);
/*
void
c_plstripc(PLINT *id, const char *xspec, const char *yspec,
PLFLT xmin, PLFLT xmax, PLFLT xjump, PLFLT ymin, PLFLT ymax,
PLFLT xlpos, PLFLT ylpos,
PLBOOL y_ascl, PLBOOL acc,
PLINT colbox, PLINT collab,
PLINT colline[], PLINT styline[], const char *legline[],
const char *labx, const char *laby, const char *labtop);
*/
void
c_plstripd(PLINT id);
/*
void
c_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
plfimagefr( PLF2OPS idataops, PLPointer idatap, 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
c_plimage(PLFLT **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
plfimage( PLF2OPS idataops, PLPointer idatap, 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_plstyl(PLINT nms, PLINT *mark, PLINT *space);
void
c_plsurf3d(PLFLT *x, PLFLT *y, PLFLT **z, PLINT nx, PLINT ny,
plplot3d_style opt, PLFLT *clevel, PLINT nlevel);
/*
void
plfsurf3d( PLFLT *x, PLFLT *y, PLF2OPS zops, PLPointer zp,
PLINT nx, PLINT ny, PLINT opt, PLFLT *clevel, PLINT nlevel );
void
c_plsurf3dl(PLFLT *x, PLFLT *y, PLFLT **z, PLINT nx, PLINT ny,
PLINT opt, PLFLT *clevel, PLINT nlevel,
PLINT ixstart, PLINT ixn, PLINT *indexymin, PLINT*indexymax);
void
plfsurf3dl( PLFLT *x, PLFLT *y, PLF2OPS zops, PLPointer zp, PLINT nx, PLINT ny,
PLINT opt, PLFLT *clevel, PLINT nlevel,
PLINT ixstart, PLINT ixn, PLINT *indexymin, PLINT *indexymax );
*/
void
c_plsvect(PLFLT *arrowx, PLFLT *arrowy, PLINT npts, PLBOOL fill);
void
c_plsvpa(PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax);
void
c_plsxax(PLINT digmax, PLINT digits);
void
plsxwin(PLINT window_id);
void
c_plsyax(PLINT digmax, PLINT digits);
void
c_plsym(PLINT n, PLFLT *x, PLFLT *y, PLINT code);
void
c_plszax(PLINT digmax, PLINT digits);
void
c_pltext(void);
void
c_pltimefmt(const char *fmt);
void
c_plvasp(PLFLT aspect);
/*
void
c_plvect(PLFLT **u, PLFLT **v, PLINT nx, PLINT ny, PLFLT scale,
void (*pltr) (PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer),
PLPointer pltr_data);
void
plfvect( PLFLT ( *getuv )( PLINT, PLINT, PLPointer ),
PLPointer up, PLPointer vp,
PLINT nx, PLINT ny, PLFLT scale,
void ( *pltr )( PLFLT, PLFLT, PLFLT *, PLFLT *, PLPointer ),
PLPointer pltr_data );
*/
void
c_plvpas(PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLFLT aspect);
void
c_plvpor(PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax);
void
c_plvsta(void);
void
c_plw3d(PLFLT basex, PLFLT basey, PLFLT height, PLFLT xmin0,
PLFLT xmax0, PLFLT ymin0, PLFLT ymax0, PLFLT zmin0,
PLFLT zmax0, PLFLT alt, PLFLT az);
void
c_plwidth(PLFLT width);
void
c_plwind(PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax);
void
c_plxormod(PLBOOL mode, PLBOOL *status);
/*
void
c_plget( enum PLAttributeName attrName, PLAttribute *attr );
void
c_plset( enum PLAttributeName attrName, PLAttribute attr );
*/
/*
void
plgFileDevs(const char ***p_menustr, const char ***p_devname, int *p_ndev);
void
plgDevs(const char ***p_menustr, const char ***p_devname, int *p_ndev);
void
plsKeyEH(void (*KeyEH) (PLGraphicsIn *, void *, int *), void *KeyEH_data);
void
plsButtonEH(void (*ButtonEH) (PLGraphicsIn *, void *, int *),
void *ButtonEH_data);
void
plsbopH(void (*handler) (void *, int *), void *handler_data);
void
plseopH(void (*handler) (void *, int *), void *handler_data);
void
plsError(PLINT *errcode, char *errmsg);
void
plsexit(int (*handler) (const char *));
void
plsabort(void (*handler) (const char *));
void
pltr0(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data);
void
pltr1(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data);
void
pltr2(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data);
void
pltr2p(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data);
void
pltr0f(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, void *pltr_data);
void
pltr2f(PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, void *pltr_data);
PLF2OPS
plf2ops_c();
PLF2OPS
plf2ops_grid_c();
PLF2OPS
plf2ops_grid_row_major();
PLF2OPS
plf2ops_grid_col_major();
PLFLT
plf2eval1( PLINT ix, PLINT iy, PLPointer plf2eval_data );
PLFLT
plf2eval2(PLINT ix, PLINT iy, PLPointer plf2eval_data);
PLFLT
plf2eval(PLINT ix, PLINT iy, PLPointer plf2eval_data);
PLFLT
plf2evalr(PLINT ix, PLINT iy, PLPointer plf2eval_data);
void
plClearOpts(void);
void
plResetOpts(void);
int
plMergeOpts(PLOptionTable *options, const char *name, const char **notes);
void
plSetUsage(const char *program_string, const char *usage_string);
*/
/* NOTE WARNING XXX: The return type is changed MANUALLY to indicate that any
non-zero return value is an error. */
nonzero_error_int
c_plsetopt(const char *opt, const char *optarg);
/*
int
plSetOpt(const char *opt, const char *optarg);
int
c_plparseopts(int *p_argc, const char **argv, PLINT mode);
void
plOptUsage(void);
void
plgfile(FILE **p_file);
void
plsfile(FILE *file);
void
plgesc(char *p_esc);
void
pl_cmd(PLINT op, void *ptr);
int
plFindName(char *p);
char *
plFindCommand(const char *fn);
void
plGetName(const char *dir, const char *subdir, const char *filename, char **filespec);
PLINT
plGetInt(const char *s);
PLFLT
plGetFlt(const char *s);
void
plAlloc2dGrid(PLFLT ***f, PLINT nx, PLINT ny);
void
plFree2dGrid(PLFLT **f, PLINT nx, PLINT ny);
*/
void
plMinMax2dGrid(PLFLT **f, PLINT nx, PLINT ny, PLFLT *fmax, PLFLT *fmin);
/*
int
plGetCursor(PLGraphicsIn *gin);
int
plTranslateCursor(PLGraphicsIn *gin);
*/
|