11     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
    12         Tcl_AppendResult( interp, 
"command syntax: command should be ",
    13                           "\"pl_setcontlabelformat lexp sigprec\"",
    18     if ( (!0 && 0 && (argc < (2 + 1 - 0 - 0)) && (!0 || (argc < (2 + 1 - 0)))) ||
    19          (!0 && !0 && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ||
    20          (0 && (argc != 1) && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ) {
    21         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
    22                           "\"pl_setcontlabelformat lexp sigprec\"",
    27     lexp = atoi(argv[1+0]);
    28     sigprec = atoi(argv[1+1]);
    36         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
    56     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
    57         Tcl_AppendResult( interp, 
"command syntax: command should be ",
    58                           "\"pl_setcontlabelparam offset size spacing active\"",
    63     if ( (!0 && 0 && (argc < (4 + 1 - 0 - 0)) && (!0 || (argc < (4 + 1 - 0)))) ||
    64          (!0 && !0 && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ||
    65          (0 && (argc != 1) && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ) {
    66         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
    67                           "\"pl_setcontlabelparam offset size spacing active\"",
    72     offset = atof(argv[1+0]);
    73     size = atof(argv[1+1]);
    74     spacing = atof(argv[1+2]);
    75     active = atoi(argv[1+3]);
    83         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
   100     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
   101         Tcl_AppendResult( interp, 
"command syntax: command should be ",
   107     if ( (!0 && 1 && (argc < (1 + 1 - 1 - 0)) && (!0 || (argc < (1 + 1 - 1)))) ||
   108          (!0 && !1 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
   109          (0 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
   110         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
   117     page = atoi(argv[1+0]);
   126         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
   150     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
   151         Tcl_AppendResult( interp, 
"command syntax: command should be ",
   152                           "\"plarc x y a b angle1 angle2 rotate fill\"",
   157     if ( (!0 && 0 && (argc < (8 + 1 - 0 - 0)) && (!0 || (argc < (8 + 1 - 0)))) ||
   158          (!0 && !0 && (argc != (8 + 1 - 0)) && (!0 || (argc != (8 + 1)))) ||
   159          (0 && (argc != 1) && (argc != (8 + 1 - 0)) && (!0 || (argc != (8 + 1)))) ) {
   160         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
   161                           "\"plarc x y a b angle1 angle2 rotate fill\"",
   170     angle1 = atof(argv[1+4]);
   171     angle2 = atof(argv[1+5]);
   172     rotate = atof(argv[1+6]);
   173     fill = atoi(argv[1+7]);
   177     plarc ( x, y, a, b, angle1, angle2, rotate, fill );
   181         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
   205     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
   206         Tcl_AppendResult( interp, 
"command syntax: command should be ",
   207                           "\"plaxes x0 y0 xopt xtick nxsub yopt ytick nysub\"",
   212     if ( (!0 && 0 && (argc < (8 + 1 - 0 - 0)) && (!0 || (argc < (8 + 1 - 0)))) ||
   213          (!0 && !0 && (argc != (8 + 1 - 0)) && (!0 || (argc != (8 + 1)))) ||
   214          (0 && (argc != 1) && (argc != (8 + 1 - 0)) && (!0 || (argc != (8 + 1)))) ) {
   215         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
   216                           "\"plaxes x0 y0 xopt xtick nxsub yopt ytick nysub\"",
   221     x0 = atof(argv[1+0]);
   222     y0 = atof(argv[1+1]);
   224     xtick = atof(argv[1+3]);
   225     nxsub = atoi(argv[1+4]);
   227     ytick = atof(argv[1+6]);
   228     nysub = atoi(argv[1+7]);
   232     plaxes ( x0, y0, xopt, xtick, nxsub, yopt, ytick, nysub );
   236         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
   258     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
   259         Tcl_AppendResult( interp, 
"command syntax: command should be ",
   260                           "\"plbin x y center\"",
   265     if ( (!0 && 0 && (argc < (4 + 1 - 0 - 1)) && (!0 || (argc < (4 + 1 - 0)))) ||
   266          (!0 && !0 && (argc != (4 + 1 - 1)) && (!0 || (argc != (4 + 1)))) ||
   267          (0 && (argc != 1) && (argc != (4 + 1 - 1)) && (!0 || (argc != (4 + 1)))) ) {
   268         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
   269                           "\"plbin x y center\"",
   275     if (matx == NULL) 
return TCL_ERROR;
   278     if (maty == NULL) 
return TCL_ERROR;
   280     center = atoi(argv[1+2]);
   283     if ( ! (nbin <= matx->n[0] && matx->
n[0] == maty->
n[0]) ) {
   284         Tcl_AppendResult( interp, 
"Length of the two vectors must be equal", (
char *) NULL );
   288         Tcl_AppendResult( interp, 
"Both vectors must be of type float", (
char *) NULL );
   293     plbin ( nbin, x, y, center );
   297         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
   313     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
   314         Tcl_AppendResult( interp, 
"command syntax: command should be ",
   320     if ( (!0 && 0 && (argc < (0 + 1 - 0 - 0)) && (!0 || (argc < (0 + 1 - 0)))) ||
   321          (!0 && !0 && (argc != (0 + 1 - 0)) && (!0 || (argc != (0 + 1)))) ||
   322          (0 && (argc != 1) && (argc != (0 + 1 - 0)) && (!0 || (argc != (0 + 1)))) ) {
   323         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
   336         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
   358     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
   359         Tcl_AppendResult( interp, 
"command syntax: command should be ",
   360                           "\"plbox xopt xtick nxsub yopt ytick nysub\"",
   365     if ( (!0 && 0 && (argc < (6 + 1 - 0 - 0)) && (!0 || (argc < (6 + 1 - 0)))) ||
   366          (!0 && !0 && (argc != (6 + 1 - 0)) && (!0 || (argc != (6 + 1)))) ||
   367          (0 && (argc != 1) && (argc != (6 + 1 - 0)) && (!0 || (argc != (6 + 1)))) ) {
   368         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
   369                           "\"plbox xopt xtick nxsub yopt ytick nysub\"",
   375     xtick = atof(argv[1+1]);
   376     nxsub = atoi(argv[1+2]);
   378     ytick = atof(argv[1+4]);
   379     nysub = atoi(argv[1+5]);
   383     plbox ( xopt, xtick, nxsub, yopt, ytick, nysub );
   387         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
   415     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
   416         Tcl_AppendResult( interp, 
"command syntax: command should be ",
   417                           "\"plbox3 xopt xlabel xtick nsubx yopt ylabel ytick nsuby zopt zlabel ztick nsubz\"",
   422     if ( (!0 && 0 && (argc < (12 + 1 - 0 - 0)) && (!0 || (argc < (12 + 1 - 0)))) ||
   423          (!0 && !0 && (argc != (12 + 1 - 0)) && (!0 || (argc != (12 + 1)))) ||
   424          (0 && (argc != 1) && (argc != (12 + 1 - 0)) && (!0 || (argc != (12 + 1)))) ) {
   425         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
   426                           "\"plbox3 xopt xlabel xtick nsubx yopt ylabel ytick nsuby zopt zlabel ztick nsubz\"",
   433     xtick = atof(argv[1+2]);
   434     nsubx = atoi(argv[1+3]);
   437     ytick = atof(argv[1+6]);
   438     nsuby = atoi(argv[1+7]);
   441     ztick = atof(argv[1+10]);
   442     nsubz = atoi(argv[1+11]);
   446     plbox3 ( xopt, xlabel, xtick, nsubx, yopt, ylabel, ytick, nsuby, zopt, zlabel, ztick, nsubz );
   450         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
   473     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
   474         Tcl_AppendResult( interp, 
"command syntax: command should be ",
   475                           "\"plbtime ?year month day hour min sec ctime?\"",
   480     if ( (!1 && 0 && (argc < (7 + 1 - 0 - 0)) && (!0 || (argc < (7 + 1 - 0)))) ||
   481          (!1 && !0 && (argc != (7 + 1 - 0)) && (!0 || (argc != (7 + 1)))) ||
   482          (1 && (argc != 1) && (argc != (7 + 1 - 0)) && (!0 || (argc != (7 + 1)))) ) {
   483         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
   484                           "\"plbtime ?year month day hour min sec ctime?\"",
   495     ctime = atof(argv[1+6]);
   499     plbtime ( &year, &month, &day, &hour, &min, &sec, ctime );
   501     sprintf( 
buf, 
"%d", year );
   503         Tcl_SetVar( interp, argv[1+0], 
buf, 0 );
   505         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
   507         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
   508     sprintf( 
buf, 
"%d", month );
   510         Tcl_SetVar( interp, argv[1+1], 
buf, 0 );
   512         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
   514         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
   515     sprintf( 
buf, 
"%d", day );
   517         Tcl_SetVar( interp, argv[1+2], 
buf, 0 );
   519         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
   521         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
   522     sprintf( 
buf, 
"%d", hour );
   524         Tcl_SetVar( interp, argv[1+3], 
buf, 0 );
   526         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
   528         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
   529     sprintf( 
buf, 
"%d", min );
   531         Tcl_SetVar( interp, argv[1+4], 
buf, 0 );
   533         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
   535         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
   536     Tcl_PrintDouble( interp, sec, 
buf );
   538         Tcl_SetVar( interp, argv[1+5], 
buf, 0 );
   540         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
   543         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
   564     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
   565         Tcl_AppendResult( interp, 
"command syntax: command should be ",
   566                           "\"plcalc_world ?rx ry wx wy window?\"",
   571     if ( (!1 && 0 && (argc < (5 + 1 - 0 - 0)) && (!0 || (argc < (5 + 1 - 0)))) ||
   572          (!1 && !0 && (argc != (5 + 1 - 0)) && (!0 || (argc != (5 + 1)))) ||
   573          (1 && (argc != 1) && (argc != (5 + 1 - 0)) && (!0 || (argc != (5 + 1)))) ) {
   574         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
   575                           "\"plcalc_world ?rx ry wx wy window?\"",
   580     rx = atof(argv[1+0]);
   581     ry = atof(argv[1+1]);
   591         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
   592     Tcl_PrintDouble( interp, wx, 
buf );
   594         Tcl_SetVar( interp, argv[1+2], 
buf, 0 );
   596         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
   598         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
   599     Tcl_PrintDouble( interp, wy, 
buf );
   601         Tcl_SetVar( interp, argv[1+3], 
buf, 0 );
   603         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
   605         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
   606     sprintf( 
buf, 
"%d", window );
   608         Tcl_SetVar( interp, argv[1+4], 
buf, 0 );
   610         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
   613         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
   629     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
   630         Tcl_AppendResult( interp, 
"command syntax: command should be ",
   636     if ( (!0 && 0 && (argc < (0 + 1 - 0 - 0)) && (!0 || (argc < (0 + 1 - 0)))) ||
   637          (!0 && !0 && (argc != (0 + 1 - 0)) && (!0 || (argc != (0 + 1)))) ||
   638          (0 && (argc != 1) && (argc != (0 + 1 - 0)) && (!0 || (argc != (0 + 1)))) ) {
   639         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
   652         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
   669     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
   670         Tcl_AppendResult( interp, 
"command syntax: command should be ",
   676     if ( (!0 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
   677          (!0 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
   678          (0 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
   679         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
   685     icol0 = atoi(argv[1+0]);
   693         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
   710     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
   711         Tcl_AppendResult( interp, 
"command syntax: command should be ",
   717     if ( (!0 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
   718          (!0 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
   719          (0 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
   720         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
   726     col1 = atof(argv[1+0]);
   734         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
   751     PLINT ifbtime_offset;
   761     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
   762         Tcl_AppendResult( interp, 
"command syntax: command should be ",
   763                           "\"plconfigtime scale offset1 offset2 ccontrol ifbtime_offset year month day hour min sec\"",
   768     if ( (!0 && 0 && (argc < (11 + 1 - 0 - 0)) && (!0 || (argc < (11 + 1 - 0)))) ||
   769          (!0 && !0 && (argc != (11 + 1 - 0)) && (!0 || (argc != (11 + 1)))) ||
   770          (0 && (argc != 1) && (argc != (11 + 1 - 0)) && (!0 || (argc != (11 + 1)))) ) {
   771         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
   772                           "\"plconfigtime scale offset1 offset2 ccontrol ifbtime_offset year month day hour min sec\"",
   777     scale = atof(argv[1+0]);
   778     offset1 = atof(argv[1+1]);
   779     offset2 = atof(argv[1+2]);
   780     ccontrol = atoi(argv[1+3]);
   781     ifbtime_offset = atoi(argv[1+4]);
   782     year = atoi(argv[1+5]);
   783     month = atoi(argv[1+6]);
   784     day = atoi(argv[1+7]);
   785     hour = atoi(argv[1+8]);
   786     min = atoi(argv[1+9]);
   787     sec = atof(argv[1+10]);
   791     plconfigtime ( scale, offset1, offset2, ccontrol, ifbtime_offset, year, month, day, hour, min, sec );
   795         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
   813     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
   814         Tcl_AppendResult( interp, 
"command syntax: command should be ",
   815                           "\"plcpstrm iplsr flags\"",
   820     if ( (!0 && 0 && (argc < (2 + 1 - 0 - 0)) && (!0 || (argc < (2 + 1 - 0)))) ||
   821          (!0 && !0 && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ||
   822          (0 && (argc != 1) && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ) {
   823         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
   824                           "\"plcpstrm iplsr flags\"",
   829     iplsr = atoi(argv[1+0]);
   830     flags = atoi(argv[1+1]);
   838         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
   861     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
   862         Tcl_AppendResult( interp, 
"command syntax: command should be ",
   863                           "\"plctime ?year month day hour min sec ctime?\"",
   868     if ( (!1 && 0 && (argc < (7 + 1 - 0 - 0)) && (!0 || (argc < (7 + 1 - 0)))) ||
   869          (!1 && !0 && (argc != (7 + 1 - 0)) && (!0 || (argc != (7 + 1)))) ||
   870          (1 && (argc != 1) && (argc != (7 + 1 - 0)) && (!0 || (argc != (7 + 1)))) ) {
   871         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
   872                           "\"plctime ?year month day hour min sec ctime?\"",
   877     year = atoi(argv[1+0]);
   878     month = atoi(argv[1+1]);
   879     day = atoi(argv[1+2]);
   880     hour = atoi(argv[1+3]);
   881     min = atoi(argv[1+4]);
   882     sec = atof(argv[1+5]);
   887     plctime ( year, month, day, hour, min, sec, &ctime );
   890         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
   891     Tcl_PrintDouble( interp, ctime, 
buf );
   893         Tcl_SetVar( interp, argv[1+6], 
buf, 0 );
   895         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
   898         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
   918     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
   919         Tcl_AppendResult( interp, 
"command syntax: command should be ",
   920                           "\"pldid2pc ?xmin ymin xmax ymax?\"",
   925     if ( (!1 && 0 && (argc < (4 + 1 - 0 - 0)) && (!0 || (argc < (4 + 1 - 0)))) ||
   926          (!1 && !0 && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ||
   927          (1 && (argc != 1) && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ) {
   928         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
   929                           "\"pldid2pc ?xmin ymin xmax ymax?\"",
   941     pldid2pc ( &xmin, &ymin, &xmax, &ymax );
   943     Tcl_PrintDouble( interp, xmin, 
buf );
   945         Tcl_SetVar( interp, argv[1+0], 
buf, 0 );
   947         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
   949         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
   950     Tcl_PrintDouble( interp, ymin, 
buf );
   952         Tcl_SetVar( interp, argv[1+1], 
buf, 0 );
   954         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
   956         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
   957     Tcl_PrintDouble( interp, xmax, 
buf );
   959         Tcl_SetVar( interp, argv[1+2], 
buf, 0 );
   961         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
   963         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
   964     Tcl_PrintDouble( interp, ymax, 
buf );
   966         Tcl_SetVar( interp, argv[1+3], 
buf, 0 );
   968         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
   971         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
   991     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
   992         Tcl_AppendResult( interp, 
"command syntax: command should be ",
   993                           "\"pldip2dc ?xmin ymin xmax ymax?\"",
   998     if ( (!1 && 0 && (argc < (4 + 1 - 0 - 0)) && (!0 || (argc < (4 + 1 - 0)))) ||
   999          (!1 && !0 && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ||
  1000          (1 && (argc != 1) && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ) {
  1001         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  1002                           "\"pldip2dc ?xmin ymin xmax ymax?\"",
  1014     pldip2dc ( &xmin, &ymin, &xmax, &ymax );
  1016     Tcl_PrintDouble( interp, xmin, 
buf );
  1018         Tcl_SetVar( interp, argv[1+0], 
buf, 0 );
  1020         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  1022         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  1023     Tcl_PrintDouble( interp, ymin, 
buf );
  1025         Tcl_SetVar( interp, argv[1+1], 
buf, 0 );
  1027         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  1029         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  1030     Tcl_PrintDouble( interp, xmax, 
buf );
  1032         Tcl_SetVar( interp, argv[1+2], 
buf, 0 );
  1034         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  1036         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  1037     Tcl_PrintDouble( interp, ymax, 
buf );
  1039         Tcl_SetVar( interp, argv[1+3], 
buf, 0 );
  1041         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  1044         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  1060     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  1061         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  1067     if ( (!0 && 0 && (argc < (0 + 1 - 0 - 0)) && (!0 || (argc < (0 + 1 - 0)))) ||
  1068          (!0 && !0 && (argc != (0 + 1 - 0)) && (!0 || (argc != (0 + 1)))) ||
  1069          (0 && (argc != 1) && (argc != (0 + 1 - 0)) && (!0 || (argc != (0 + 1)))) ) {
  1070         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  1083         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  1099     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  1100         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  1106     if ( (!0 && 0 && (argc < (0 + 1 - 0 - 0)) && (!0 || (argc < (0 + 1 - 0)))) ||
  1107          (!0 && !0 && (argc != (0 + 1 - 0)) && (!0 || (argc != (0 + 1)))) ||
  1108          (0 && (argc != 1) && (argc != (0 + 1 - 0)) && (!0 || (argc != (0 + 1)))) ) {
  1109         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  1122         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  1144     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  1145         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  1146                           "\"plenv xmin xmax ymin ymax just axis\"",
  1151     if ( (!0 && 0 && (argc < (6 + 1 - 0 - 0)) && (!0 || (argc < (6 + 1 - 0)))) ||
  1152          (!0 && !0 && (argc != (6 + 1 - 0)) && (!0 || (argc != (6 + 1)))) ||
  1153          (0 && (argc != 1) && (argc != (6 + 1 - 0)) && (!0 || (argc != (6 + 1)))) ) {
  1154         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  1155                           "\"plenv xmin xmax ymin ymax just axis\"",
  1160     xmin = atof(argv[1+0]);
  1161     xmax = atof(argv[1+1]);
  1162     ymin = atof(argv[1+2]);
  1163     ymax = atof(argv[1+3]);
  1164     just = atoi(argv[1+4]);
  1165     axis = atoi(argv[1+5]);
  1169     plenv ( xmin, xmax, ymin, ymax, just, axis );
  1173         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  1195     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  1196         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  1197                           "\"plenv0 xmin xmax ymin ymax just axis\"",
  1202     if ( (!0 && 0 && (argc < (6 + 1 - 0 - 0)) && (!0 || (argc < (6 + 1 - 0)))) ||
  1203          (!0 && !0 && (argc != (6 + 1 - 0)) && (!0 || (argc != (6 + 1)))) ||
  1204          (0 && (argc != 1) && (argc != (6 + 1 - 0)) && (!0 || (argc != (6 + 1)))) ) {
  1205         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  1206                           "\"plenv0 xmin xmax ymin ymax just axis\"",
  1211     xmin = atof(argv[1+0]);
  1212     xmax = atof(argv[1+1]);
  1213     ymin = atof(argv[1+2]);
  1214     ymax = atof(argv[1+3]);
  1215     just = atoi(argv[1+4]);
  1216     axis = atoi(argv[1+5]);
  1220     plenv0 ( xmin, xmax, ymin, ymax, just, axis );
  1224         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  1240     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  1241         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  1247     if ( (!0 && 0 && (argc < (0 + 1 - 0 - 0)) && (!0 || (argc < (0 + 1 - 0)))) ||
  1248          (!0 && !0 && (argc != (0 + 1 - 0)) && (!0 || (argc != (0 + 1)))) ||
  1249          (0 && (argc != 1) && (argc != (0 + 1 - 0)) && (!0 || (argc != (0 + 1)))) ) {
  1250         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  1263         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  1286     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  1287         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  1288                           "\"plerrx xmin xmax y\"",
  1293     if ( (!0 && 0 && (argc < (4 + 1 - 0 - 1)) && (!0 || (argc < (4 + 1 - 0)))) ||
  1294          (!0 && !0 && (argc != (4 + 1 - 1)) && (!0 || (argc != (4 + 1)))) ||
  1295          (0 && (argc != 1) && (argc != (4 + 1 - 1)) && (!0 || (argc != (4 + 1)))) ) {
  1296         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  1297                           "\"plerrx xmin xmax y\"",
  1303     if (matxmin == NULL) 
return TCL_ERROR;
  1304     xmin = matxmin->
fdata;
  1306     if (matxmax == NULL) 
return TCL_ERROR;
  1307     xmax = matxmax->
fdata;
  1309     if (maty == NULL) 
return TCL_ERROR;
  1313     if ( ! (n <= maty->n[0] && matxmin->
n[0] == matxmax->
n[0] && matxmin->
n[0] == maty->
n[0]) ) {
  1314         Tcl_AppendResult( interp, 
"Length of the three vectors must be equal", (
char *) NULL );
  1318         Tcl_AppendResult( interp, 
"All vectors must be of type float", (
char *) NULL );
  1323     plerrx ( n, xmin, xmax, y );
  1327         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  1350     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  1351         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  1352                           "\"plerry x ymin ymax\"",
  1357     if ( (!0 && 0 && (argc < (4 + 1 - 0 - 1)) && (!0 || (argc < (4 + 1 - 0)))) ||
  1358          (!0 && !0 && (argc != (4 + 1 - 1)) && (!0 || (argc != (4 + 1)))) ||
  1359          (0 && (argc != 1) && (argc != (4 + 1 - 1)) && (!0 || (argc != (4 + 1)))) ) {
  1360         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  1361                           "\"plerry x ymin ymax\"",
  1367     if (matx == NULL) 
return TCL_ERROR;
  1370     if (matymin == NULL) 
return TCL_ERROR;
  1371     ymin = matymin->
fdata;
  1373     if (matymax == NULL) 
return TCL_ERROR;
  1374     ymax = matymax->
fdata;
  1377     if ( ! (n <= matx->n[0] && matymin->
n[0] == matymax->
n[0] && matymin->
n[0] == matx->
n[0]) ) {
  1378         Tcl_AppendResult( interp, 
"Length of the three vectors must be equal", (
char *) NULL );
  1382         Tcl_AppendResult( interp, 
"All vectors must be of type float", (
char *) NULL );
  1387     plerry ( n, x, ymin, ymax );
  1391         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  1407     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  1408         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  1414     if ( (!0 && 0 && (argc < (0 + 1 - 0 - 0)) && (!0 || (argc < (0 + 1 - 0)))) ||
  1415          (!0 && !0 && (argc != (0 + 1 - 0)) && (!0 || (argc != (0 + 1)))) ||
  1416          (0 && (argc != 1) && (argc != (0 + 1 - 0)) && (!0 || (argc != (0 + 1)))) ) {
  1417         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  1430         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  1451     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  1452         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  1458     if ( (!0 && 0 && (argc < (3 + 1 - 0 - 1)) && (!0 || (argc < (3 + 1 - 0)))) ||
  1459          (!0 && !0 && (argc != (3 + 1 - 1)) && (!0 || (argc != (3 + 1)))) ||
  1460          (0 && (argc != 1) && (argc != (3 + 1 - 1)) && (!0 || (argc != (3 + 1)))) ) {
  1461         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  1468     if (matx == NULL) 
return TCL_ERROR;
  1471     if (maty == NULL) 
return TCL_ERROR;
  1475     if ( ! (n <= matx->n[0] && matx->
n[0] == maty->
n[0]) ) {
  1476         Tcl_AppendResult( interp, 
"Length of the two vectors must be equal", (
char *) NULL );
  1480         Tcl_AppendResult( interp, 
"Both vectors must be of type float", (
char *) NULL );
  1489         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  1512     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  1513         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  1514                           "\"plfill3 x y z\"",
  1519     if ( (!0 && 0 && (argc < (4 + 1 - 0 - 1)) && (!0 || (argc < (4 + 1 - 0)))) ||
  1520          (!0 && !0 && (argc != (4 + 1 - 1)) && (!0 || (argc != (4 + 1)))) ||
  1521          (0 && (argc != 1) && (argc != (4 + 1 - 1)) && (!0 || (argc != (4 + 1)))) ) {
  1522         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  1523                           "\"plfill3 x y z\"",
  1529     if (matx == NULL) 
return TCL_ERROR;
  1532     if (maty == NULL) 
return TCL_ERROR;
  1535     if (matz == NULL) 
return TCL_ERROR;
  1539     if ( ! (n <= matx->n[0] && matx->
n[0] == maty->
n[0] && matx->
n[0] == matz->
n[0]) ) {
  1540         Tcl_AppendResult( interp, 
"Length of the three vectors must be equal", (
char *) NULL );
  1544         Tcl_AppendResult( interp, 
"All vectors must be of type float", (
char *) NULL );
  1553         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  1569     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  1570         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  1576     if ( (!0 && 0 && (argc < (0 + 1 - 0 - 0)) && (!0 || (argc < (0 + 1 - 0)))) ||
  1577          (!0 && !0 && (argc != (0 + 1 - 0)) && (!0 || (argc != (0 + 1)))) ||
  1578          (0 && (argc != 1) && (argc != (0 + 1 - 0)) && (!0 || (argc != (0 + 1)))) ) {
  1579         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  1592         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  1609     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  1610         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  1616     if ( (!0 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  1617          (!0 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  1618          (0 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  1619         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  1625     ifont = atoi(argv[1+0]);
  1633         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  1650     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  1651         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  1657     if ( (!0 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  1658          (!0 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  1659          (0 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  1660         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  1666     fnt = atoi(argv[1+0]);
  1674         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  1692     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  1693         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  1694                           "\"plgchr ?def ht?\"",
  1699     if ( (!1 && 0 && (argc < (2 + 1 - 0 - 0)) && (!0 || (argc < (2 + 1 - 0)))) ||
  1700          (!1 && !0 && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ||
  1701          (1 && (argc != 1) && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ) {
  1702         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  1703                           "\"plgchr ?def ht?\"",
  1715     Tcl_PrintDouble( interp, def, 
buf );
  1717         Tcl_SetVar( interp, argv[1+0], 
buf, 0 );
  1719         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  1721         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  1722     Tcl_PrintDouble( interp, ht, 
buf );
  1724         Tcl_SetVar( interp, argv[1+1], 
buf, 0 );
  1726         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  1729         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  1747     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  1748         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  1749                           "\"plgcmap1_range ?min_color max_color?\"",
  1754     if ( (!1 && 0 && (argc < (2 + 1 - 0 - 0)) && (!0 || (argc < (2 + 1 - 0)))) ||
  1755          (!1 && !0 && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ||
  1756          (1 && (argc != 1) && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ) {
  1757         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  1758                           "\"plgcmap1_range ?min_color max_color?\"",
  1770     Tcl_PrintDouble( interp, min_color, 
buf );
  1772         Tcl_SetVar( interp, argv[1+0], 
buf, 0 );
  1774         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  1776         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  1777     Tcl_PrintDouble( interp, max_color, 
buf );
  1779         Tcl_SetVar( interp, argv[1+1], 
buf, 0 );
  1781         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  1784         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  1804     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  1805         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  1806                           "\"plgcol0 ?icol0 r g b?\"",
  1811     if ( (!1 && 0 && (argc < (4 + 1 - 0 - 0)) && (!0 || (argc < (4 + 1 - 0)))) ||
  1812          (!1 && !0 && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ||
  1813          (1 && (argc != 1) && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ) {
  1814         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  1815                           "\"plgcol0 ?icol0 r g b?\"",
  1820     icol0 = atoi(argv[1+0]);
  1827     plgcol0 ( icol0, &r, &g, &b );
  1830         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  1831     sprintf( 
buf, 
"%d", r );
  1833         Tcl_SetVar( interp, argv[1+1], 
buf, 0 );
  1835         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  1837         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  1838     sprintf( 
buf, 
"%d", g );
  1840         Tcl_SetVar( interp, argv[1+2], 
buf, 0 );
  1842         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  1844         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  1845     sprintf( 
buf, 
"%d", b );
  1847         Tcl_SetVar( interp, argv[1+3], 
buf, 0 );
  1849         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  1852         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  1873     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  1874         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  1875                           "\"plgcol0a ?icol0 r g b a?\"",
  1880     if ( (!1 && 0 && (argc < (5 + 1 - 0 - 0)) && (!0 || (argc < (5 + 1 - 0)))) ||
  1881          (!1 && !0 && (argc != (5 + 1 - 0)) && (!0 || (argc != (5 + 1)))) ||
  1882          (1 && (argc != 1) && (argc != (5 + 1 - 0)) && (!0 || (argc != (5 + 1)))) ) {
  1883         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  1884                           "\"plgcol0a ?icol0 r g b a?\"",
  1889     icol0 = atoi(argv[1+0]);
  1897     plgcol0a ( icol0, &r, &g, &b, &a );
  1900         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  1901     sprintf( 
buf, 
"%d", r );
  1903         Tcl_SetVar( interp, argv[1+1], 
buf, 0 );
  1905         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  1907         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  1908     sprintf( 
buf, 
"%d", g );
  1910         Tcl_SetVar( interp, argv[1+2], 
buf, 0 );
  1912         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  1914         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  1915     sprintf( 
buf, 
"%d", b );
  1917         Tcl_SetVar( interp, argv[1+3], 
buf, 0 );
  1919         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  1921         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  1922     Tcl_PrintDouble( interp, a, 
buf );
  1924         Tcl_SetVar( interp, argv[1+4], 
buf, 0 );
  1926         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  1929         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  1948     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  1949         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  1950                           "\"plgcolbg ?r g b?\"",
  1955     if ( (!1 && 0 && (argc < (3 + 1 - 0 - 0)) && (!0 || (argc < (3 + 1 - 0)))) ||
  1956          (!1 && !0 && (argc != (3 + 1 - 0)) && (!0 || (argc != (3 + 1)))) ||
  1957          (1 && (argc != 1) && (argc != (3 + 1 - 0)) && (!0 || (argc != (3 + 1)))) ) {
  1958         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  1959                           "\"plgcolbg ?r g b?\"",
  1972     sprintf( 
buf, 
"%d", r );
  1974         Tcl_SetVar( interp, argv[1+0], 
buf, 0 );
  1976         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  1978         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  1979     sprintf( 
buf, 
"%d", g );
  1981         Tcl_SetVar( interp, argv[1+1], 
buf, 0 );
  1983         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  1985         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  1986     sprintf( 
buf, 
"%d", b );
  1988         Tcl_SetVar( interp, argv[1+2], 
buf, 0 );
  1990         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  1993         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  2013     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  2014         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  2015                           "\"plgcolbga ?r g b a?\"",
  2020     if ( (!1 && 0 && (argc < (4 + 1 - 0 - 0)) && (!0 || (argc < (4 + 1 - 0)))) ||
  2021          (!1 && !0 && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ||
  2022          (1 && (argc != 1) && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ) {
  2023         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  2024                           "\"plgcolbga ?r g b a?\"",
  2038     sprintf( 
buf, 
"%d", r );
  2040         Tcl_SetVar( interp, argv[1+0], 
buf, 0 );
  2042         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2044         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  2045     sprintf( 
buf, 
"%d", g );
  2047         Tcl_SetVar( interp, argv[1+1], 
buf, 0 );
  2049         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2051         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  2052     sprintf( 
buf, 
"%d", b );
  2054         Tcl_SetVar( interp, argv[1+2], 
buf, 0 );
  2056         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2058         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  2059     Tcl_PrintDouble( interp, a, 
buf );
  2061         Tcl_SetVar( interp, argv[1+3], 
buf, 0 );
  2063         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2066         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  2083     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  2084         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  2085                           "\"plgcompression ?compression?\"",
  2090     if ( (!1 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  2091          (!1 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  2092          (1 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  2093         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  2094                           "\"plgcompression ?compression?\"",
  2105     sprintf( 
buf, 
"%d", compression );
  2107         Tcl_SetVar( interp, argv[1+0], 
buf, 0 );
  2109         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2112         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  2129     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  2130         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  2131                           "\"plgdev ?devnam?\"",
  2136     if ( (!1 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  2137          (!1 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  2138          (1 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  2139         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  2140                           "\"plgdev ?devnam?\"",
  2152        Tcl_SetVar( interp, argv[1+0], devnam, 0 );
  2154         Tcl_AppendResult( interp, devnam, (
char *) NULL );
  2157         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  2177     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  2178         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  2179                           "\"plgdidev ?mar aspect jx jy?\"",
  2184     if ( (!1 && 0 && (argc < (4 + 1 - 0 - 0)) && (!0 || (argc < (4 + 1 - 0)))) ||
  2185          (!1 && !0 && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ||
  2186          (1 && (argc != 1) && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ) {
  2187         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  2188                           "\"plgdidev ?mar aspect jx jy?\"",
  2200     plgdidev ( &mar, &aspect, &jx, &jy );
  2202     Tcl_PrintDouble( interp, mar, 
buf );
  2204         Tcl_SetVar( interp, argv[1+0], 
buf, 0 );
  2206         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2208         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  2209     Tcl_PrintDouble( interp, aspect, 
buf );
  2211         Tcl_SetVar( interp, argv[1+1], 
buf, 0 );
  2213         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2215         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  2216     Tcl_PrintDouble( interp, jx, 
buf );
  2218         Tcl_SetVar( interp, argv[1+2], 
buf, 0 );
  2220         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2222         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  2223     Tcl_PrintDouble( interp, jy, 
buf );
  2225         Tcl_SetVar( interp, argv[1+3], 
buf, 0 );
  2227         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2230         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  2247     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  2248         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  2249                           "\"plgdiori ?rot?\"",
  2254     if ( (!1 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  2255          (!1 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  2256          (1 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  2257         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  2258                           "\"plgdiori ?rot?\"",
  2269     Tcl_PrintDouble( interp, rot, 
buf );
  2271         Tcl_SetVar( interp, argv[1+0], 
buf, 0 );
  2273         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2276         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  2296     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  2297         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  2298                           "\"plgdiplt ?xmin ymin xmax ymax?\"",
  2303     if ( (!1 && 0 && (argc < (4 + 1 - 0 - 0)) && (!0 || (argc < (4 + 1 - 0)))) ||
  2304          (!1 && !0 && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ||
  2305          (1 && (argc != 1) && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ) {
  2306         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  2307                           "\"plgdiplt ?xmin ymin xmax ymax?\"",
  2319     plgdiplt ( &xmin, &ymin, &xmax, &ymax );
  2321     Tcl_PrintDouble( interp, xmin, 
buf );
  2323         Tcl_SetVar( interp, argv[1+0], 
buf, 0 );
  2325         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2327         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  2328     Tcl_PrintDouble( interp, ymin, 
buf );
  2330         Tcl_SetVar( interp, argv[1+1], 
buf, 0 );
  2332         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2334         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  2335     Tcl_PrintDouble( interp, xmax, 
buf );
  2337         Tcl_SetVar( interp, argv[1+2], 
buf, 0 );
  2339         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2341         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  2342     Tcl_PrintDouble( interp, ymax, 
buf );
  2344         Tcl_SetVar( interp, argv[1+3], 
buf, 0 );
  2346         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2349         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  2366     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  2367         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  2373     if ( (!1 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  2374          (!1 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  2375          (1 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  2376         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  2388     sprintf( 
buf, 
"%c", esc );
  2390         Tcl_SetVar( interp, argv[1+0], 
buf, 0 );
  2392         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2395         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  2414     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  2415         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  2416                           "\"plgfam ?fam num bmax?\"",
  2421     if ( (!1 && 0 && (argc < (3 + 1 - 0 - 0)) && (!0 || (argc < (3 + 1 - 0)))) ||
  2422          (!1 && !0 && (argc != (3 + 1 - 0)) && (!0 || (argc != (3 + 1)))) ||
  2423          (1 && (argc != 1) && (argc != (3 + 1 - 0)) && (!0 || (argc != (3 + 1)))) ) {
  2424         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  2425                           "\"plgfam ?fam num bmax?\"",
  2436     plgfam ( &fam, &num, &bmax );
  2438     sprintf( 
buf, 
"%d", fam );
  2440         Tcl_SetVar( interp, argv[1+0], 
buf, 0 );
  2442         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2444         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  2445     sprintf( 
buf, 
"%d", num );
  2447         Tcl_SetVar( interp, argv[1+1], 
buf, 0 );
  2449         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2451         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  2452     sprintf( 
buf, 
"%d", bmax );
  2454         Tcl_SetVar( interp, argv[1+2], 
buf, 0 );
  2456         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2459         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  2476     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  2477         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  2483     if ( (!1 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  2484          (!1 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  2485          (1 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  2486         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  2498     sprintf( 
buf, 
"%u", fci );
  2500         Tcl_SetVar( interp, argv[1+0], 
buf, 0 );
  2502         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2505         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  2522     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  2523         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  2524                           "\"plgfnam ?fnam?\"",
  2529     if ( (!1 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  2530          (!1 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  2531          (1 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  2532         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  2533                           "\"plgfnam ?fnam?\"",
  2545        Tcl_SetVar( interp, argv[1+0], fnam, 0 );
  2547         Tcl_AppendResult( interp, fnam, (
char *) NULL );
  2550         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  2569     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  2570         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  2571                           "\"plgfont ?family style weight?\"",
  2576     if ( (!1 && 0 && (argc < (3 + 1 - 0 - 0)) && (!0 || (argc < (3 + 1 - 0)))) ||
  2577          (!1 && !0 && (argc != (3 + 1 - 0)) && (!0 || (argc != (3 + 1)))) ||
  2578          (1 && (argc != 1) && (argc != (3 + 1 - 0)) && (!0 || (argc != (3 + 1)))) ) {
  2579         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  2580                           "\"plgfont ?family style weight?\"",
  2591     plgfont ( &family, &style, &weight );
  2593     sprintf( 
buf, 
"%d", family );
  2595         Tcl_SetVar( interp, argv[1+0], 
buf, 0 );
  2597         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2599         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  2600     sprintf( 
buf, 
"%d", style );
  2602         Tcl_SetVar( interp, argv[1+1], 
buf, 0 );
  2604         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2606         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  2607     sprintf( 
buf, 
"%d", weight );
  2609         Tcl_SetVar( interp, argv[1+2], 
buf, 0 );
  2611         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2614         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  2631     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  2632         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  2633                           "\"plglevel ?level?\"",
  2638     if ( (!1 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  2639          (!1 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  2640          (1 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  2641         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  2642                           "\"plglevel ?level?\"",
  2653     sprintf( 
buf, 
"%d", level );
  2655         Tcl_SetVar( interp, argv[1+0], 
buf, 0 );
  2657         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2660         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  2682     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  2683         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  2684                           "\"plgpage ?xp yp xleng yleng xoff yoff?\"",
  2689     if ( (!1 && 0 && (argc < (6 + 1 - 0 - 0)) && (!0 || (argc < (6 + 1 - 0)))) ||
  2690          (!1 && !0 && (argc != (6 + 1 - 0)) && (!0 || (argc != (6 + 1)))) ||
  2691          (1 && (argc != 1) && (argc != (6 + 1 - 0)) && (!0 || (argc != (6 + 1)))) ) {
  2692         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  2693                           "\"plgpage ?xp yp xleng yleng xoff yoff?\"",
  2707     plgpage ( &xp, &yp, &xleng, &yleng, &xoff, &yoff );
  2709     Tcl_PrintDouble( interp, xp, 
buf );
  2711         Tcl_SetVar( interp, argv[1+0], 
buf, 0 );
  2713         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2715         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  2716     Tcl_PrintDouble( interp, yp, 
buf );
  2718         Tcl_SetVar( interp, argv[1+1], 
buf, 0 );
  2720         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2722         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  2723     sprintf( 
buf, 
"%d", xleng );
  2725         Tcl_SetVar( interp, argv[1+2], 
buf, 0 );
  2727         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2729         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  2730     sprintf( 
buf, 
"%d", yleng );
  2732         Tcl_SetVar( interp, argv[1+3], 
buf, 0 );
  2734         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2736         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  2737     sprintf( 
buf, 
"%d", xoff );
  2739         Tcl_SetVar( interp, argv[1+4], 
buf, 0 );
  2741         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2743         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  2744     sprintf( 
buf, 
"%d", yoff );
  2746         Tcl_SetVar( interp, argv[1+5], 
buf, 0 );
  2748         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2751         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  2767     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  2768         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  2774     if ( (!0 && 0 && (argc < (0 + 1 - 0 - 0)) && (!0 || (argc < (0 + 1 - 0)))) ||
  2775          (!0 && !0 && (argc != (0 + 1 - 0)) && (!0 || (argc != (0 + 1)))) ||
  2776          (0 && (argc != 1) && (argc != (0 + 1 - 0)) && (!0 || (argc != (0 + 1)))) ) {
  2777         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  2790         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  2812     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  2813         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  2814                           "\"plgradient x y angle\"",
  2819     if ( (!0 && 0 && (argc < (4 + 1 - 0 - 1)) && (!0 || (argc < (4 + 1 - 0)))) ||
  2820          (!0 && !0 && (argc != (4 + 1 - 1)) && (!0 || (argc != (4 + 1)))) ||
  2821          (0 && (argc != 1) && (argc != (4 + 1 - 1)) && (!0 || (argc != (4 + 1)))) ) {
  2822         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  2823                           "\"plgradient x y angle\"",
  2829     if (matx == NULL) 
return TCL_ERROR;
  2832     if (maty == NULL) 
return TCL_ERROR;
  2834     angle = atof(argv[1+2]);
  2837     if ( ! (n <= matx->n[0] && matx->
n[0] == maty->
n[0]) ) {
  2838         Tcl_AppendResult( interp, 
"Length of the two vectors must be equal", (
char *) NULL );
  2842         Tcl_AppendResult( interp, 
"Both vectors must be of type float", (
char *) NULL );
  2851         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  2871     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  2872         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  2873                           "\"plgspa ?xmin xmax ymin ymax?\"",
  2878     if ( (!1 && 0 && (argc < (4 + 1 - 0 - 0)) && (!0 || (argc < (4 + 1 - 0)))) ||
  2879          (!1 && !0 && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ||
  2880          (1 && (argc != 1) && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ) {
  2881         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  2882                           "\"plgspa ?xmin xmax ymin ymax?\"",
  2894     plgspa ( &xmin, &xmax, &ymin, &ymax );
  2896     Tcl_PrintDouble( interp, xmin, 
buf );
  2898         Tcl_SetVar( interp, argv[1+0], 
buf, 0 );
  2900         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2902         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  2903     Tcl_PrintDouble( interp, xmax, 
buf );
  2905         Tcl_SetVar( interp, argv[1+1], 
buf, 0 );
  2907         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2909         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  2910     Tcl_PrintDouble( interp, ymin, 
buf );
  2912         Tcl_SetVar( interp, argv[1+2], 
buf, 0 );
  2914         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2916         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  2917     Tcl_PrintDouble( interp, ymax, 
buf );
  2919         Tcl_SetVar( interp, argv[1+3], 
buf, 0 );
  2921         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2924         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  2941     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  2942         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  2943                           "\"plgstrm ?strm?\"",
  2948     if ( (!1 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  2949          (!1 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  2950          (1 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  2951         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  2952                           "\"plgstrm ?strm?\"",
  2963     sprintf( 
buf, 
"%d", strm );
  2965         Tcl_SetVar( interp, argv[1+0], 
buf, 0 );
  2967         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  2970         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  2987     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  2988         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  2994     if ( (!1 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  2995          (!1 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  2996          (1 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  2997         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  3010        Tcl_SetVar( interp, argv[1+0], ver, 0 );
  3012         Tcl_AppendResult( interp, ver, (
char *) NULL );
  3015         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  3035     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  3036         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  3037                           "\"plgvpd ?xmin xmax ymin ymax?\"",
  3042     if ( (!1 && 0 && (argc < (4 + 1 - 0 - 0)) && (!0 || (argc < (4 + 1 - 0)))) ||
  3043          (!1 && !0 && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ||
  3044          (1 && (argc != 1) && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ) {
  3045         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  3046                           "\"plgvpd ?xmin xmax ymin ymax?\"",
  3058     plgvpd ( &xmin, &xmax, &ymin, &ymax );
  3060     Tcl_PrintDouble( interp, xmin, 
buf );
  3062         Tcl_SetVar( interp, argv[1+0], 
buf, 0 );
  3064         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  3066         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  3067     Tcl_PrintDouble( interp, xmax, 
buf );
  3069         Tcl_SetVar( interp, argv[1+1], 
buf, 0 );
  3071         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  3073         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  3074     Tcl_PrintDouble( interp, ymin, 
buf );
  3076         Tcl_SetVar( interp, argv[1+2], 
buf, 0 );
  3078         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  3080         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  3081     Tcl_PrintDouble( interp, ymax, 
buf );
  3083         Tcl_SetVar( interp, argv[1+3], 
buf, 0 );
  3085         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  3088         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  3108     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  3109         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  3110                           "\"plgvpw ?xmin xmax ymin ymax?\"",
  3115     if ( (!1 && 0 && (argc < (4 + 1 - 0 - 0)) && (!0 || (argc < (4 + 1 - 0)))) ||
  3116          (!1 && !0 && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ||
  3117          (1 && (argc != 1) && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ) {
  3118         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  3119                           "\"plgvpw ?xmin xmax ymin ymax?\"",
  3131     plgvpw ( &xmin, &xmax, &ymin, &ymax );
  3133     Tcl_PrintDouble( interp, xmin, 
buf );
  3135         Tcl_SetVar( interp, argv[1+0], 
buf, 0 );
  3137         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  3139         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  3140     Tcl_PrintDouble( interp, xmax, 
buf );
  3142         Tcl_SetVar( interp, argv[1+1], 
buf, 0 );
  3144         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  3146         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  3147     Tcl_PrintDouble( interp, ymin, 
buf );
  3149         Tcl_SetVar( interp, argv[1+2], 
buf, 0 );
  3151         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  3153         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  3154     Tcl_PrintDouble( interp, ymax, 
buf );
  3156         Tcl_SetVar( interp, argv[1+3], 
buf, 0 );
  3158         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  3161         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  3179     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  3180         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  3181                           "\"plgxax ?digmax digits?\"",
  3186     if ( (!1 && 0 && (argc < (2 + 1 - 0 - 0)) && (!0 || (argc < (2 + 1 - 0)))) ||
  3187          (!1 && !0 && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ||
  3188          (1 && (argc != 1) && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ) {
  3189         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  3190                           "\"plgxax ?digmax digits?\"",
  3200     plgxax ( &digmax, &digits );
  3202     sprintf( 
buf, 
"%d", digmax );
  3204         Tcl_SetVar( interp, argv[1+0], 
buf, 0 );
  3206         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  3208         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  3209     sprintf( 
buf, 
"%d", digits );
  3211         Tcl_SetVar( interp, argv[1+1], 
buf, 0 );
  3213         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  3216         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  3234     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  3235         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  3236                           "\"plgyax ?digmax digits?\"",
  3241     if ( (!1 && 0 && (argc < (2 + 1 - 0 - 0)) && (!0 || (argc < (2 + 1 - 0)))) ||
  3242          (!1 && !0 && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ||
  3243          (1 && (argc != 1) && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ) {
  3244         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  3245                           "\"plgyax ?digmax digits?\"",
  3255     plgyax ( &digmax, &digits );
  3257     sprintf( 
buf, 
"%d", digmax );
  3259         Tcl_SetVar( interp, argv[1+0], 
buf, 0 );
  3261         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  3263         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  3264     sprintf( 
buf, 
"%d", digits );
  3266         Tcl_SetVar( interp, argv[1+1], 
buf, 0 );
  3268         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  3271         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  3289     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  3290         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  3291                           "\"plgzax ?digmax digits?\"",
  3296     if ( (!1 && 0 && (argc < (2 + 1 - 0 - 0)) && (!0 || (argc < (2 + 1 - 0)))) ||
  3297          (!1 && !0 && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ||
  3298          (1 && (argc != 1) && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ) {
  3299         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  3300                           "\"plgzax ?digmax digits?\"",
  3310     plgzax ( &digmax, &digits );
  3312     sprintf( 
buf, 
"%d", digmax );
  3314         Tcl_SetVar( interp, argv[1+0], 
buf, 0 );
  3316         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  3318         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  3319     sprintf( 
buf, 
"%d", digits );
  3321         Tcl_SetVar( interp, argv[1+1], 
buf, 0 );
  3323         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  3326         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  3349     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  3350         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  3351                           "\"plhist data datmin datmax nbin oldwin\"",
  3356     if ( (!0 && 0 && (argc < (6 + 1 - 0 - 1)) && (!0 || (argc < (6 + 1 - 0)))) ||
  3357          (!0 && !0 && (argc != (6 + 1 - 1)) && (!0 || (argc != (6 + 1)))) ||
  3358          (0 && (argc != 1) && (argc != (6 + 1 - 1)) && (!0 || (argc != (6 + 1)))) ) {
  3359         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  3360                           "\"plhist data datmin datmax nbin oldwin\"",
  3366     if (matdata == NULL) 
return TCL_ERROR;
  3367     data = matdata->
fdata;
  3368     datmin = atof(argv[1+1]);
  3369     datmax = atof(argv[1+2]);
  3370     nbin = atoi(argv[1+3]);
  3371     oldwin = atoi(argv[1+4]);
  3374     if ( ! (n <= matdata->n[0]) ) {
  3375         Tcl_AppendResult( interp, 
"Length of the vector must be at least n", (
char *) NULL );
  3379         Tcl_AppendResult( interp, 
"The vector must be of type float", (
char *) NULL );
  3384     plhist ( n, data, datmin, datmax, nbin, oldwin );
  3388         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  3410     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  3411         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  3412                           "\"plhlsrgb ?h l s r g b?\"",
  3417     if ( (!1 && 0 && (argc < (6 + 1 - 0 - 0)) && (!0 || (argc < (6 + 1 - 0)))) ||
  3418          (!1 && !0 && (argc != (6 + 1 - 0)) && (!0 || (argc != (6 + 1)))) ||
  3419          (1 && (argc != 1) && (argc != (6 + 1 - 0)) && (!0 || (argc != (6 + 1)))) ) {
  3420         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  3421                           "\"plhlsrgb ?h l s r g b?\"",
  3426     h = atof(argv[1+0]);
  3427     l = atof(argv[1+1]);
  3428     s = atof(argv[1+2]);
  3438         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  3439     Tcl_PrintDouble( interp, r, 
buf );
  3441         Tcl_SetVar( interp, argv[1+3], 
buf, 0 );
  3443         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  3445         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  3446     Tcl_PrintDouble( interp, g, 
buf );
  3448         Tcl_SetVar( interp, argv[1+4], 
buf, 0 );
  3450         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  3452         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  3453     Tcl_PrintDouble( interp, b, 
buf );
  3455         Tcl_SetVar( interp, argv[1+5], 
buf, 0 );
  3457         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  3460         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  3476     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  3477         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  3483     if ( (!0 && 0 && (argc < (0 + 1 - 0 - 0)) && (!0 || (argc < (0 + 1 - 0)))) ||
  3484          (!0 && !0 && (argc != (0 + 1 - 0)) && (!0 || (argc != (0 + 1)))) ||
  3485          (0 && (argc != 1) && (argc != (0 + 1 - 0)) && (!0 || (argc != (0 + 1)))) ) {
  3486         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  3499         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  3519     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  3520         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  3521                           "\"pljoin x1 y1 x2 y2\"",
  3526     if ( (!0 && 0 && (argc < (4 + 1 - 0 - 0)) && (!0 || (argc < (4 + 1 - 0)))) ||
  3527          (!0 && !0 && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ||
  3528          (0 && (argc != 1) && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ) {
  3529         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  3530                           "\"pljoin x1 y1 x2 y2\"",
  3535     x1 = atof(argv[1+0]);
  3536     y1 = atof(argv[1+1]);
  3537     x2 = atof(argv[1+2]);
  3538     y2 = atof(argv[1+3]);
  3542     pljoin ( x1, y1, x2, y2 );
  3546         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  3565     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  3566         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  3567                           "\"pllab xlabel ylabel tlabel\"",
  3572     if ( (!0 && 0 && (argc < (3 + 1 - 0 - 0)) && (!0 || (argc < (3 + 1 - 0)))) ||
  3573          (!0 && !0 && (argc != (3 + 1 - 0)) && (!0 || (argc != (3 + 1)))) ||
  3574          (0 && (argc != 1) && (argc != (3 + 1 - 0)) && (!0 || (argc != (3 + 1)))) ) {
  3575         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  3576                           "\"pllab xlabel ylabel tlabel\"",
  3587     pllab ( xlabel, ylabel, tlabel );
  3591         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  3610     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  3611         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  3612                           "\"pllightsource x y z\"",
  3617     if ( (!0 && 0 && (argc < (3 + 1 - 0 - 0)) && (!0 || (argc < (3 + 1 - 0)))) ||
  3618          (!0 && !0 && (argc != (3 + 1 - 0)) && (!0 || (argc != (3 + 1)))) ||
  3619          (0 && (argc != 1) && (argc != (3 + 1 - 0)) && (!0 || (argc != (3 + 1)))) ) {
  3620         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  3621                           "\"pllightsource x y z\"",
  3626     x = atof(argv[1+0]);
  3627     y = atof(argv[1+1]);
  3628     z = atof(argv[1+2]);
  3636         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  3657     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  3658         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  3664     if ( (!0 && 0 && (argc < (3 + 1 - 0 - 1)) && (!0 || (argc < (3 + 1 - 0)))) ||
  3665          (!0 && !0 && (argc != (3 + 1 - 1)) && (!0 || (argc != (3 + 1)))) ||
  3666          (0 && (argc != 1) && (argc != (3 + 1 - 1)) && (!0 || (argc != (3 + 1)))) ) {
  3667         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  3674     if (matx == NULL) 
return TCL_ERROR;
  3677     if (maty == NULL) 
return TCL_ERROR;
  3681     if ( ! (n <= matx->n[0] && matx->
n[0] == maty->
n[0]) ) {
  3682         Tcl_AppendResult( interp, 
"Length of the two vectors must be equal", (
char *) NULL );
  3686         Tcl_AppendResult( interp, 
"Both vectors must be of type float", (
char *) NULL );
  3695         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  3718     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  3719         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  3720                           "\"plline3 x y z\"",
  3725     if ( (!0 && 0 && (argc < (4 + 1 - 0 - 1)) && (!0 || (argc < (4 + 1 - 0)))) ||
  3726          (!0 && !0 && (argc != (4 + 1 - 1)) && (!0 || (argc != (4 + 1)))) ||
  3727          (0 && (argc != 1) && (argc != (4 + 1 - 1)) && (!0 || (argc != (4 + 1)))) ) {
  3728         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  3729                           "\"plline3 x y z\"",
  3735     if (matx == NULL) 
return TCL_ERROR;
  3738     if (maty == NULL) 
return TCL_ERROR;
  3741     if (matz == NULL) 
return TCL_ERROR;
  3745     if ( ! (n <= matx->n[0] && matx->
n[0] == maty->
n[0] && matx->
n[0] == matz->
n[0]) ) {
  3746         Tcl_AppendResult( interp, 
"Length of the three vectors must be equal", (
char *) NULL );
  3750         Tcl_AppendResult( interp, 
"All vectors must be of type float", (
char *) NULL );
  3759         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  3776     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  3777         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  3783     if ( (!0 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  3784          (!0 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  3785          (0 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  3786         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  3792     lin = atoi(argv[1+0]);
  3800         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  3817     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  3818         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  3819                           "\"plmkstrm ?strm?\"",
  3824     if ( (!1 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  3825          (!1 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  3826          (1 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  3827         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  3828                           "\"plmkstrm ?strm?\"",
  3839     sprintf( 
buf, 
"%d", strm );
  3841         Tcl_SetVar( interp, argv[1+0], 
buf, 0 );
  3843         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  3846         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  3867     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  3868         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  3869                           "\"plmtex side disp pos just text\"",
  3874     if ( (!0 && 0 && (argc < (5 + 1 - 0 - 0)) && (!0 || (argc < (5 + 1 - 0)))) ||
  3875          (!0 && !0 && (argc != (5 + 1 - 0)) && (!0 || (argc != (5 + 1)))) ||
  3876          (0 && (argc != 1) && (argc != (5 + 1 - 0)) && (!0 || (argc != (5 + 1)))) ) {
  3877         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  3878                           "\"plmtex side disp pos just text\"",
  3884     disp = atof(argv[1+1]);
  3885     pos = atof(argv[1+2]);
  3886     just = atof(argv[1+3]);
  3891     plmtex ( side, disp, pos, just, text );
  3895         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  3916     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  3917         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  3918                           "\"plmtex3 side disp pos just text\"",
  3923     if ( (!0 && 0 && (argc < (5 + 1 - 0 - 0)) && (!0 || (argc < (5 + 1 - 0)))) ||
  3924          (!0 && !0 && (argc != (5 + 1 - 0)) && (!0 || (argc != (5 + 1)))) ||
  3925          (0 && (argc != 1) && (argc != (5 + 1 - 0)) && (!0 || (argc != (5 + 1)))) ) {
  3926         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  3927                           "\"plmtex3 side disp pos just text\"",
  3933     disp = atof(argv[1+1]);
  3934     pos = atof(argv[1+2]);
  3935     just = atof(argv[1+3]);
  3940     plmtex3 ( side, disp, pos, just, text );
  3944         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  3965     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  3966         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  3967                           "\"plpat inc del\"",
  3972     if ( (!0 && 0 && (argc < (3 + 1 - 0 - 1)) && (!0 || (argc < (3 + 1 - 0)))) ||
  3973          (!0 && !0 && (argc != (3 + 1 - 1)) && (!0 || (argc != (3 + 1)))) ||
  3974          (0 && (argc != 1) && (argc != (3 + 1 - 1)) && (!0 || (argc != (3 + 1)))) ) {
  3975         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  3976                           "\"plpat inc del\"",
  3982     if (matinc == NULL) 
return TCL_ERROR;
  3983     inc = matinc->
idata;
  3985     if (matdel == NULL) 
return TCL_ERROR;
  3986     del = matdel->
idata;
  3987     nlin = matinc->
n[0];
  3989     if ( ! (nlin <= matinc->n[0] && matinc->
n[0] == matdel->
n[0]) ) {
  3990         Tcl_AppendResult( interp, 
"Length of the two vectors must be equal", (
char *) NULL );
  3994         Tcl_AppendResult( interp, 
"Both vectors must be of type int", (
char *) NULL );
  3999     plpat ( nlin, inc, del );
  4003         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  4024     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  4025         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  4026                           "\"plpath n x1 y1 x2 y2\"",
  4031     if ( (!0 && 0 && (argc < (5 + 1 - 0 - 0)) && (!0 || (argc < (5 + 1 - 0)))) ||
  4032          (!0 && !0 && (argc != (5 + 1 - 0)) && (!0 || (argc != (5 + 1)))) ||
  4033          (0 && (argc != 1) && (argc != (5 + 1 - 0)) && (!0 || (argc != (5 + 1)))) ) {
  4034         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  4035                           "\"plpath n x1 y1 x2 y2\"",
  4040     n = atoi(argv[1+0]);
  4041     x1 = atof(argv[1+1]);
  4042     y1 = atof(argv[1+2]);
  4043     x2 = atof(argv[1+3]);
  4044     y2 = atof(argv[1+4]);
  4048     plpath ( n, x1, y1, x2, y2 );
  4052         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  4074     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  4075         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  4076                           "\"plpoin x y code\"",
  4081     if ( (!0 && 0 && (argc < (4 + 1 - 0 - 1)) && (!0 || (argc < (4 + 1 - 0)))) ||
  4082          (!0 && !0 && (argc != (4 + 1 - 1)) && (!0 || (argc != (4 + 1)))) ||
  4083          (0 && (argc != 1) && (argc != (4 + 1 - 1)) && (!0 || (argc != (4 + 1)))) ) {
  4084         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  4085                           "\"plpoin x y code\"",
  4091     if (matx == NULL) 
return TCL_ERROR;
  4094     if (maty == NULL) 
return TCL_ERROR;
  4096     code = atoi(argv[1+2]);
  4099     if ( ! (n <= matx->n[0] && matx->
n[0] == maty->
n[0]) ) {
  4100         Tcl_AppendResult( interp, 
"Length of the two vectors must be equal", (
char *) NULL );
  4104         Tcl_AppendResult( interp, 
"Both vectors must be of type float", (
char *) NULL );
  4109     plpoin ( n, x, y, code );
  4113         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  4137     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  4138         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  4139                           "\"plpoin3 x y z code\"",
  4144     if ( (!0 && 0 && (argc < (5 + 1 - 0 - 1)) && (!0 || (argc < (5 + 1 - 0)))) ||
  4145          (!0 && !0 && (argc != (5 + 1 - 1)) && (!0 || (argc != (5 + 1)))) ||
  4146          (0 && (argc != 1) && (argc != (5 + 1 - 1)) && (!0 || (argc != (5 + 1)))) ) {
  4147         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  4148                           "\"plpoin3 x y z code\"",
  4154     if (matx == NULL) 
return TCL_ERROR;
  4157     if (maty == NULL) 
return TCL_ERROR;
  4160     if (matz == NULL) 
return TCL_ERROR;
  4162     code = atoi(argv[1+3]);
  4165     if ( ! (n <= matx->n[0] && matx->
n[0] == maty->
n[0] && matx->
n[0] == matz->
n[0]) ) {
  4166         Tcl_AppendResult( interp, 
"Length of the three vectors must be equal", (
char *) NULL );
  4170         Tcl_AppendResult( interp, 
"All vectors must be of type float", (
char *) NULL );
  4179         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  4205     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  4206         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  4207                           "\"plpoly3 x y z draw ifcc\"",
  4212     if ( (!0 && 0 && (argc < (6 + 1 - 0 - 1)) && (!0 || (argc < (6 + 1 - 0)))) ||
  4213          (!0 && !0 && (argc != (6 + 1 - 1)) && (!0 || (argc != (6 + 1)))) ||
  4214          (0 && (argc != 1) && (argc != (6 + 1 - 1)) && (!0 || (argc != (6 + 1)))) ) {
  4215         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  4216                           "\"plpoly3 x y z draw ifcc\"",
  4222     if (matx == NULL) 
return TCL_ERROR;
  4225     if (maty == NULL) 
return TCL_ERROR;
  4228     if (matz == NULL) 
return TCL_ERROR;
  4231     if (matdraw == NULL) 
return TCL_ERROR;
  4232     draw = matdraw->
idata;
  4233     ifcc = atoi(argv[1+4]);
  4236     if ( ! (n <= matx->n[0] && matx->
n[0] == maty->
n[0] && matx->
n[0] == matz->
n[0] && matx->
n[0]) ) {
  4237         Tcl_AppendResult( interp, 
"Length of vectors x, y and z must be equal", (
char *) NULL );
  4240     if ( ! (matx->
n[0] == matdraw->
n[0]+1) ) {
  4241         Tcl_AppendResult( interp, 
"Length of vector draw must be one less than that of vectors x, y and z", (
char *) NULL );
  4245         Tcl_AppendResult( interp, 
"The three coordinate vectors must be of type float", (
char *) NULL );
  4249         Tcl_AppendResult( interp, 
"The draw vectors must be of type int", (
char *) NULL );
  4254     plpoly3 ( n, x, y, z, draw, ifcc );
  4258         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  4276     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  4277         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  4278                           "\"plprec setp prec\"",
  4283     if ( (!0 && 0 && (argc < (2 + 1 - 0 - 0)) && (!0 || (argc < (2 + 1 - 0)))) ||
  4284          (!0 && !0 && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ||
  4285          (0 && (argc != 1) && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ) {
  4286         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  4287                           "\"plprec setp prec\"",
  4292     setp = atoi(argv[1+0]);
  4293     prec = atoi(argv[1+1]);
  4301         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  4318     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  4319         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  4325     if ( (!0 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  4326          (!0 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  4327          (0 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  4328         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  4334     patt = atoi(argv[1+0]);
  4342         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  4364     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  4365         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  4366                           "\"plptex x y dx dy just text\"",
  4371     if ( (!0 && 0 && (argc < (6 + 1 - 0 - 0)) && (!0 || (argc < (6 + 1 - 0)))) ||
  4372          (!0 && !0 && (argc != (6 + 1 - 0)) && (!0 || (argc != (6 + 1)))) ||
  4373          (0 && (argc != 1) && (argc != (6 + 1 - 0)) && (!0 || (argc != (6 + 1)))) ) {
  4374         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  4375                           "\"plptex x y dx dy just text\"",
  4380     x = atof(argv[1+0]);
  4381     y = atof(argv[1+1]);
  4382     dx = atof(argv[1+2]);
  4383     dy = atof(argv[1+3]);
  4384     just = atof(argv[1+4]);
  4389     plptex ( x, y, dx, dy, just, text );
  4393         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  4420     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  4421         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  4422                           "\"plptex3 wx wy wz dx dy dz sx sy sz just text\"",
  4427     if ( (!0 && 0 && (argc < (11 + 1 - 0 - 0)) && (!0 || (argc < (11 + 1 - 0)))) ||
  4428          (!0 && !0 && (argc != (11 + 1 - 0)) && (!0 || (argc != (11 + 1)))) ||
  4429          (0 && (argc != 1) && (argc != (11 + 1 - 0)) && (!0 || (argc != (11 + 1)))) ) {
  4430         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  4431                           "\"plptex3 wx wy wz dx dy dz sx sy sz just text\"",
  4436     wx = atof(argv[1+0]);
  4437     wy = atof(argv[1+1]);
  4438     wz = atof(argv[1+2]);
  4439     dx = atof(argv[1+3]);
  4440     dy = atof(argv[1+4]);
  4441     dz = atof(argv[1+5]);
  4442     sx = atof(argv[1+6]);
  4443     sy = atof(argv[1+7]);
  4444     sz = atof(argv[1+8]);
  4445     just = atof(argv[1+9]);
  4450     plptex3 ( wx, wy, wz, dx, dy, dz, sx, sy, sz, just, text );
  4454         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  4470     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  4471         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  4477     if ( (!0 && 0 && (argc < (0 + 1 - 0 - 0)) && (!0 || (argc < (0 + 1 - 0)))) ||
  4478          (!0 && !0 && (argc != (0 + 1 - 0)) && (!0 || (argc != (0 + 1)))) ||
  4479          (0 && (argc != 1) && (argc != (0 + 1 - 0)) && (!0 || (argc != (0 + 1)))) ) {
  4480         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  4493         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  4515     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  4516         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  4517                           "\"plrgbhls ?r g b h l s?\"",
  4522     if ( (!1 && 0 && (argc < (6 + 1 - 0 - 0)) && (!0 || (argc < (6 + 1 - 0)))) ||
  4523          (!1 && !0 && (argc != (6 + 1 - 0)) && (!0 || (argc != (6 + 1)))) ||
  4524          (1 && (argc != 1) && (argc != (6 + 1 - 0)) && (!0 || (argc != (6 + 1)))) ) {
  4525         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  4526                           "\"plrgbhls ?r g b h l s?\"",
  4531     r = atof(argv[1+0]);
  4532     g = atof(argv[1+1]);
  4533     b = atof(argv[1+2]);
  4543         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  4544     Tcl_PrintDouble( interp, h, 
buf );
  4546         Tcl_SetVar( interp, argv[1+3], 
buf, 0 );
  4548         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  4550         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  4551     Tcl_PrintDouble( interp, l, 
buf );
  4553         Tcl_SetVar( interp, argv[1+4], 
buf, 0 );
  4555         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  4557         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  4558     Tcl_PrintDouble( interp, s, 
buf );
  4560         Tcl_SetVar( interp, argv[1+5], 
buf, 0 );
  4562         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  4565         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  4583     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  4584         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  4585                           "\"plschr def scale\"",
  4590     if ( (!0 && 0 && (argc < (2 + 1 - 0 - 0)) && (!0 || (argc < (2 + 1 - 0)))) ||
  4591          (!0 && !0 && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ||
  4592          (0 && (argc != 1) && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ) {
  4593         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  4594                           "\"plschr def scale\"",
  4599     def = atof(argv[1+0]);
  4600     scale = atof(argv[1+1]);
  4608         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  4631     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  4632         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  4633                           "\"plscmap0 r g b\"",
  4638     if ( (!0 && 0 && (argc < (4 + 1 - 0 - 1)) && (!0 || (argc < (4 + 1 - 0)))) ||
  4639          (!0 && !0 && (argc != (4 + 1 - 1)) && (!0 || (argc != (4 + 1)))) ||
  4640          (0 && (argc != 1) && (argc != (4 + 1 - 1)) && (!0 || (argc != (4 + 1)))) ) {
  4641         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  4642                           "\"plscmap0 r g b\"",
  4648     if (matr == NULL) 
return TCL_ERROR;
  4651     if (matg == NULL) 
return TCL_ERROR;
  4654     if (matb == NULL) 
return TCL_ERROR;
  4658     if ( ! (ncol0 <= matr->n[0] && matr->
n[0] == matg->
n[0] && matr->
n[0] == matb->
n[0]) ) {
  4659         Tcl_AppendResult( interp, 
"Length of all vectors must be equal", (
char *) NULL );
  4663         Tcl_AppendResult( interp, 
"All vectors must be of type int", (
char *) NULL );
  4672         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  4697     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  4698         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  4699                           "\"plscmap0a r g b a\"",
  4704     if ( (!0 && 0 && (argc < (5 + 1 - 0 - 1)) && (!0 || (argc < (5 + 1 - 0)))) ||
  4705          (!0 && !0 && (argc != (5 + 1 - 1)) && (!0 || (argc != (5 + 1)))) ||
  4706          (0 && (argc != 1) && (argc != (5 + 1 - 1)) && (!0 || (argc != (5 + 1)))) ) {
  4707         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  4708                           "\"plscmap0a r g b a\"",
  4714     if (matr == NULL) 
return TCL_ERROR;
  4717     if (matg == NULL) 
return TCL_ERROR;
  4720     if (matb == NULL) 
return TCL_ERROR;
  4723     if (mata == NULL) 
return TCL_ERROR;
  4727     if ( ! (ncol0 <= matr->n[0] && matr->
n[0] == matg->
n[0] && matr->
n[0] == matb->
n[0] && matr->
n[0] == mata->
n[0]) ) {
  4728         Tcl_AppendResult( interp, 
"Length of all vectors must be equal", (
char *) NULL );
  4732         Tcl_AppendResult( interp, 
"The RGB vectors must be of type int", (
char *) NULL );
  4736         Tcl_AppendResult( interp, 
"The alpha vector must be of type float", (
char *) NULL );
  4745         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  4762     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  4763         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  4764                           "\"plscmap0n ncol0\"",
  4769     if ( (!0 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  4770          (!0 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  4771          (0 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  4772         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  4773                           "\"plscmap0n ncol0\"",
  4778     ncol0 = atoi(argv[1+0]);
  4786         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  4809     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  4810         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  4811                           "\"plscmap1 r g b\"",
  4816     if ( (!0 && 0 && (argc < (4 + 1 - 0 - 1)) && (!0 || (argc < (4 + 1 - 0)))) ||
  4817          (!0 && !0 && (argc != (4 + 1 - 1)) && (!0 || (argc != (4 + 1)))) ||
  4818          (0 && (argc != 1) && (argc != (4 + 1 - 1)) && (!0 || (argc != (4 + 1)))) ) {
  4819         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  4820                           "\"plscmap1 r g b\"",
  4826     if (matr == NULL) 
return TCL_ERROR;
  4829     if (matg == NULL) 
return TCL_ERROR;
  4832     if (matb == NULL) 
return TCL_ERROR;
  4836     if ( ! (ncol1 <= matr->n[0] && matr->
n[0] == matg->
n[0] && matr->
n[0] == matb->
n[0]) ) {
  4837         Tcl_AppendResult( interp, 
"Length of all vectors must be equal", (
char *) NULL );
  4841         Tcl_AppendResult( interp, 
"The RGB vectors must be of type int", (
char *) NULL );
  4850         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  4875     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  4876         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  4877                           "\"plscmap1a r g b a\"",
  4882     if ( (!0 && 0 && (argc < (5 + 1 - 0 - 1)) && (!0 || (argc < (5 + 1 - 0)))) ||
  4883          (!0 && !0 && (argc != (5 + 1 - 1)) && (!0 || (argc != (5 + 1)))) ||
  4884          (0 && (argc != 1) && (argc != (5 + 1 - 1)) && (!0 || (argc != (5 + 1)))) ) {
  4885         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  4886                           "\"plscmap1a r g b a\"",
  4892     if (matr == NULL) 
return TCL_ERROR;
  4895     if (matg == NULL) 
return TCL_ERROR;
  4898     if (matb == NULL) 
return TCL_ERROR;
  4901     if (mata == NULL) 
return TCL_ERROR;
  4905     if ( ! (ncol1 <= matr->n[0] && matr->
n[0] == matg->
n[0] && matr->
n[0] == matb->
n[0] && matr->
n[0] == mata->
n[0]) ) {
  4906         Tcl_AppendResult( interp, 
"Length of all vectors must be equal", (
char *) NULL );
  4910         Tcl_AppendResult( interp, 
"The RGB vectors must be of type int", (
char *) NULL );
  4919         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  4942     PLINT *alt_hue_path;
  4947     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  4948         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  4949                           "\"plscmap1l itype intensity coord1 coord2 coord3 alt_hue_path\"",
  4954     if ( (!0 && 0 && (argc < (7 + 1 - 0 - 1)) && (!0 || (argc < (7 + 1 - 0)))) ||
  4955          (!0 && !0 && (argc != (7 + 1 - 1)) && (!0 || (argc != (7 + 1)))) ||
  4956          (0 && (argc != 1) && (argc != (7 + 1 - 1)) && (!0 || (argc != (7 + 1)))) ) {
  4957         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  4958                           "\"plscmap1l itype intensity coord1 coord2 coord3 alt_hue_path\"",
  4963     itype = atoi(argv[1+0]);
  4965     if (matintensity == NULL) 
return TCL_ERROR;
  4966     intensity = matintensity->
fdata;
  4968     if (matcoord1 == NULL) 
return TCL_ERROR;
  4969     coord1 = matcoord1->
fdata;
  4971     if (matcoord2 == NULL) 
return TCL_ERROR;
  4972     coord2 = matcoord2->
fdata;
  4974     if (matcoord3 == NULL) 
return TCL_ERROR;
  4975     coord3 = matcoord3->
fdata;
  4977     if (matalt_hue_path == NULL) 
return TCL_ERROR;
  4978     alt_hue_path = matalt_hue_path->
idata;
  4979     npts = matintensity->
n[0];
  4981     if ( ! (npts <= matintensity->n[0] && matintensity->
n[0] == matcoord1->
n[0] && matintensity->
n[0] == matcoord2->
n[0] && matintensity->
n[0] == matcoord3->
n[0] && matintensity->
n[0] == matalt_hue_path->
n[0]) ) {
  4982         Tcl_AppendResult( interp, 
"Length of all vectors must be equal", (
char *) NULL );
  4986         Tcl_AppendResult( interp, 
"The coordinate vectors must be of type float", (
char *) NULL );
  4990         Tcl_AppendResult( interp, 
"The alt_hue_path vector must be of type int", (
char *) NULL );
  4995     plscmap1l ( itype, npts, intensity, coord1, coord2, coord3, alt_hue_path );
  4999         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  5024     PLINT *alt_hue_path;
  5029     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  5030         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  5031                           "\"plscmap1la itype intensity coord1 coord2 coord3 a alt_hue_path\"",
  5036     if ( (!0 && 0 && (argc < (8 + 1 - 0 - 1)) && (!0 || (argc < (8 + 1 - 0)))) ||
  5037          (!0 && !0 && (argc != (8 + 1 - 1)) && (!0 || (argc != (8 + 1)))) ||
  5038          (0 && (argc != 1) && (argc != (8 + 1 - 1)) && (!0 || (argc != (8 + 1)))) ) {
  5039         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  5040                           "\"plscmap1la itype intensity coord1 coord2 coord3 a alt_hue_path\"",
  5045     itype = atoi(argv[1+0]);
  5047     if (matintensity == NULL) 
return TCL_ERROR;
  5048     intensity = matintensity->
fdata;
  5050     if (matcoord1 == NULL) 
return TCL_ERROR;
  5051     coord1 = matcoord1->
fdata;
  5053     if (matcoord2 == NULL) 
return TCL_ERROR;
  5054     coord2 = matcoord2->
fdata;
  5056     if (matcoord3 == NULL) 
return TCL_ERROR;
  5057     coord3 = matcoord3->
fdata;
  5059     if (mata == NULL) 
return TCL_ERROR;
  5062     if (matalt_hue_path == NULL) 
return TCL_ERROR;
  5063     alt_hue_path = matalt_hue_path->
idata;
  5064     npts = matintensity->
n[0];
  5066     if ( ! (npts <= matintensity->n[0] && matintensity->
n[0] == matcoord1->
n[0] && matintensity->
n[0] == matcoord2->
n[0] && matintensity->
n[0] == matcoord3->
n[0] && matintensity->
n[0] == matalt_hue_path->
n[0] && matintensity->
n[0] == mata->
n[0]) ) {
  5067         Tcl_AppendResult( interp, 
"Length of all vectors must be equal", (
char *) NULL );
  5071         Tcl_AppendResult( interp, 
"The coordinate vectors must be of type float", (
char *) NULL );
  5075         Tcl_AppendResult( interp, 
"The alt_hue_path vector must be of type int", (
char *) NULL );
  5080     plscmap1la ( itype, npts, intensity, coord1, coord2, coord3, a, alt_hue_path );
  5084         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  5101     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  5102         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  5103                           "\"plscmap1n ncol1\"",
  5108     if ( (!0 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  5109          (!0 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  5110          (0 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  5111         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  5112                           "\"plscmap1n ncol1\"",
  5117     ncol1 = atoi(argv[1+0]);
  5125         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  5143     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  5144         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  5145                           "\"plscmap1_range min_color max_color\"",
  5150     if ( (!0 && 0 && (argc < (2 + 1 - 0 - 0)) && (!0 || (argc < (2 + 1 - 0)))) ||
  5151          (!0 && !0 && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ||
  5152          (0 && (argc != 1) && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ) {
  5153         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  5154                           "\"plscmap1_range min_color max_color\"",
  5159     min_color = atof(argv[1+0]);
  5160     max_color = atof(argv[1+1]);
  5168         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  5188     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  5189         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  5190                           "\"plscol0 icol0 r g b\"",
  5195     if ( (!0 && 0 && (argc < (4 + 1 - 0 - 0)) && (!0 || (argc < (4 + 1 - 0)))) ||
  5196          (!0 && !0 && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ||
  5197          (0 && (argc != 1) && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ) {
  5198         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  5199                           "\"plscol0 icol0 r g b\"",
  5204     icol0 = atoi(argv[1+0]);
  5205     r = atoi(argv[1+1]);
  5206     g = atoi(argv[1+2]);
  5207     b = atoi(argv[1+3]);
  5215         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  5236     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  5237         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  5238                           "\"plscol0a icol0 r g b a\"",
  5243     if ( (!0 && 0 && (argc < (5 + 1 - 0 - 0)) && (!0 || (argc < (5 + 1 - 0)))) ||
  5244          (!0 && !0 && (argc != (5 + 1 - 0)) && (!0 || (argc != (5 + 1)))) ||
  5245          (0 && (argc != 1) && (argc != (5 + 1 - 0)) && (!0 || (argc != (5 + 1)))) ) {
  5246         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  5247                           "\"plscol0a icol0 r g b a\"",
  5252     icol0 = atoi(argv[1+0]);
  5253     r = atoi(argv[1+1]);
  5254     g = atoi(argv[1+2]);
  5255     b = atoi(argv[1+3]);
  5256     a = atof(argv[1+4]);
  5264         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  5283     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  5284         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  5285                           "\"plscolbg r g b\"",
  5290     if ( (!0 && 0 && (argc < (3 + 1 - 0 - 0)) && (!0 || (argc < (3 + 1 - 0)))) ||
  5291          (!0 && !0 && (argc != (3 + 1 - 0)) && (!0 || (argc != (3 + 1)))) ||
  5292          (0 && (argc != 1) && (argc != (3 + 1 - 0)) && (!0 || (argc != (3 + 1)))) ) {
  5293         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  5294                           "\"plscolbg r g b\"",
  5299     r = atoi(argv[1+0]);
  5300     g = atoi(argv[1+1]);
  5301     b = atoi(argv[1+2]);
  5309         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  5329     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  5330         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  5331                           "\"plscolbga r g b a\"",
  5336     if ( (!0 && 0 && (argc < (4 + 1 - 0 - 0)) && (!0 || (argc < (4 + 1 - 0)))) ||
  5337          (!0 && !0 && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ||
  5338          (0 && (argc != 1) && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ) {
  5339         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  5340                           "\"plscolbga r g b a\"",
  5345     r = atoi(argv[1+0]);
  5346     g = atoi(argv[1+1]);
  5347     b = atoi(argv[1+2]);
  5348     a = atof(argv[1+3]);
  5356         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  5373     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  5374         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  5375                           "\"plscolor color\"",
  5380     if ( (!0 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  5381          (!0 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  5382          (0 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  5383         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  5384                           "\"plscolor color\"",
  5389     color = atoi(argv[1+0]);
  5397         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  5414     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  5415         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  5416                           "\"plscompression compression\"",
  5421     if ( (!0 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  5422          (!0 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  5423          (0 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  5424         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  5425                           "\"plscompression compression\"",
  5430     compression = atoi(argv[1+0]);
  5438         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  5455     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  5456         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  5457                           "\"plsdev devnam\"",
  5462     if ( (!0 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  5463          (!0 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  5464          (0 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  5465         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  5466                           "\"plsdev devnam\"",
  5479         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  5499     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  5500         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  5501                           "\"plsdidev mar aspect jx jy\"",
  5506     if ( (!0 && 0 && (argc < (4 + 1 - 0 - 0)) && (!0 || (argc < (4 + 1 - 0)))) ||
  5507          (!0 && !0 && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ||
  5508          (0 && (argc != 1) && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ) {
  5509         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  5510                           "\"plsdidev mar aspect jx jy\"",
  5515     mar = atof(argv[1+0]);
  5516     aspect = atof(argv[1+1]);
  5517     jx = atof(argv[1+2]);
  5518     jy = atof(argv[1+3]);
  5526         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  5548     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  5549         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  5550                           "\"plsdimap dimxmin dimxmax dimymin dimymax dimxpmm dimypmm\"",
  5555     if ( (!0 && 0 && (argc < (6 + 1 - 0 - 0)) && (!0 || (argc < (6 + 1 - 0)))) ||
  5556          (!0 && !0 && (argc != (6 + 1 - 0)) && (!0 || (argc != (6 + 1)))) ||
  5557          (0 && (argc != 1) && (argc != (6 + 1 - 0)) && (!0 || (argc != (6 + 1)))) ) {
  5558         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  5559                           "\"plsdimap dimxmin dimxmax dimymin dimymax dimxpmm dimypmm\"",
  5564     dimxmin = atoi(argv[1+0]);
  5565     dimxmax = atoi(argv[1+1]);
  5566     dimymin = atoi(argv[1+2]);
  5567     dimymax = atoi(argv[1+3]);
  5568     dimxpmm = atof(argv[1+4]);
  5569     dimypmm = atof(argv[1+5]);
  5573     plsdimap ( dimxmin, dimxmax, dimymin, dimymax, dimxpmm, dimypmm );
  5577         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  5594     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  5595         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  5601     if ( (!0 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  5602          (!0 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  5603          (0 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  5604         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  5610     rot = atof(argv[1+0]);
  5618         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  5638     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  5639         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  5640                           "\"plsdiplt xmin ymin xmax ymax\"",
  5645     if ( (!0 && 0 && (argc < (4 + 1 - 0 - 0)) && (!0 || (argc < (4 + 1 - 0)))) ||
  5646          (!0 && !0 && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ||
  5647          (0 && (argc != 1) && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ) {
  5648         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  5649                           "\"plsdiplt xmin ymin xmax ymax\"",
  5654     xmin = atof(argv[1+0]);
  5655     ymin = atof(argv[1+1]);
  5656     xmax = atof(argv[1+2]);
  5657     ymax = atof(argv[1+3]);
  5661     plsdiplt ( xmin, ymin, xmax, ymax );
  5665         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  5685     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  5686         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  5687                           "\"plsdiplz xmin ymin xmax ymax\"",
  5692     if ( (!0 && 0 && (argc < (4 + 1 - 0 - 0)) && (!0 || (argc < (4 + 1 - 0)))) ||
  5693          (!0 && !0 && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ||
  5694          (0 && (argc != 1) && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ) {
  5695         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  5696                           "\"plsdiplz xmin ymin xmax ymax\"",
  5701     xmin = atof(argv[1+0]);
  5702     ymin = atof(argv[1+1]);
  5703     xmax = atof(argv[1+2]);
  5704     ymax = atof(argv[1+3]);
  5708     plsdiplz ( xmin, ymin, xmax, ymax );
  5712         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  5729     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  5730         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  5736     if ( (!0 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  5737          (!0 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  5738          (0 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  5739         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  5745     s = (
unsigned int) strtoul(argv[1+0],NULL,10);
  5753         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  5770     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  5771         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  5777     if ( (!0 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  5778          (!0 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  5779          (0 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  5780         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  5794         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  5813     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  5814         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  5815                           "\"plsfam fam num bmax\"",
  5820     if ( (!0 && 0 && (argc < (3 + 1 - 0 - 0)) && (!0 || (argc < (3 + 1 - 0)))) ||
  5821          (!0 && !0 && (argc != (3 + 1 - 0)) && (!0 || (argc != (3 + 1)))) ||
  5822          (0 && (argc != 1) && (argc != (3 + 1 - 0)) && (!0 || (argc != (3 + 1)))) ) {
  5823         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  5824                           "\"plsfam fam num bmax\"",
  5829     fam = atoi(argv[1+0]);
  5830     num = atoi(argv[1+1]);
  5831     bmax = atoi(argv[1+2]);
  5835     plsfam ( fam, num, bmax );
  5839         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  5856     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  5857         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  5863     if ( (!0 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  5864          (!0 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  5865          (0 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  5866         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  5872     fci = (
PLUNICODE) strtoul(argv[1+0],NULL,10);
  5880         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  5897     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  5898         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  5904     if ( (!0 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  5905          (!0 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  5906          (0 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  5907         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  5921         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  5940     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  5941         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  5942                           "\"plsfont family style weight\"",
  5947     if ( (!0 && 0 && (argc < (3 + 1 - 0 - 0)) && (!0 || (argc < (3 + 1 - 0)))) ||
  5948          (!0 && !0 && (argc != (3 + 1 - 0)) && (!0 || (argc != (3 + 1)))) ||
  5949          (0 && (argc != 1) && (argc != (3 + 1 - 0)) && (!0 || (argc != (3 + 1)))) ) {
  5950         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  5951                           "\"plsfont family style weight\"",
  5956     family = atoi(argv[1+0]);
  5957     style = atoi(argv[1+1]);
  5958     weight = atoi(argv[1+2]);
  5962     plsfont ( family, style, weight );
  5966         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  5984     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  5985         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  5986                           "\"plsmaj def scale\"",
  5991     if ( (!0 && 0 && (argc < (2 + 1 - 0 - 0)) && (!0 || (argc < (2 + 1 - 0)))) ||
  5992          (!0 && !0 && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ||
  5993          (0 && (argc != 1) && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ) {
  5994         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  5995                           "\"plsmaj def scale\"",
  6000     def = atof(argv[1+0]);
  6001     scale = atof(argv[1+1]);
  6009         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  6027     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  6028         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  6029                           "\"plsmin def scale\"",
  6034     if ( (!0 && 0 && (argc < (2 + 1 - 0 - 0)) && (!0 || (argc < (2 + 1 - 0)))) ||
  6035          (!0 && !0 && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ||
  6036          (0 && (argc != 1) && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ) {
  6037         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  6038                           "\"plsmin def scale\"",
  6043     def = atof(argv[1+0]);
  6044     scale = atof(argv[1+1]);
  6052         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  6069     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  6070         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  6076     if ( (!0 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  6077          (!0 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  6078          (0 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  6079         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  6085     ori = atoi(argv[1+0]);
  6093         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  6115     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  6116         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  6117                           "\"plspage xp yp xleng yleng xoff yoff\"",
  6122     if ( (!0 && 0 && (argc < (6 + 1 - 0 - 0)) && (!0 || (argc < (6 + 1 - 0)))) ||
  6123          (!0 && !0 && (argc != (6 + 1 - 0)) && (!0 || (argc != (6 + 1)))) ||
  6124          (0 && (argc != 1) && (argc != (6 + 1 - 0)) && (!0 || (argc != (6 + 1)))) ) {
  6125         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  6126                           "\"plspage xp yp xleng yleng xoff yoff\"",
  6131     xp = atof(argv[1+0]);
  6132     yp = atof(argv[1+1]);
  6133     xleng = atoi(argv[1+2]);
  6134     yleng = atoi(argv[1+3]);
  6135     xoff = atoi(argv[1+4]);
  6136     yoff = atoi(argv[1+5]);
  6140     plspage ( xp, yp, xleng, yleng, xoff, yoff );
  6144         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  6157     const char *filename;
  6161     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  6162         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  6163                           "\"plspal0 filename\"",
  6168     if ( (!0 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  6169          (!0 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  6170          (0 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  6171         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  6172                           "\"plspal0 filename\"",
  6177     filename = argv[1+0];
  6185         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  6198     const char *filename;
  6203     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  6204         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  6205                           "\"plspal1 filename interpolate\"",
  6210     if ( (!0 && 0 && (argc < (2 + 1 - 0 - 0)) && (!0 || (argc < (2 + 1 - 0)))) ||
  6211          (!0 && !0 && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ||
  6212          (0 && (argc != 1) && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ) {
  6213         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  6214                           "\"plspal1 filename interpolate\"",
  6219     filename = argv[1+0];
  6220     interpolate = atoi(argv[1+1]);
  6224     plspal1 ( filename, interpolate );
  6228         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  6245     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  6246         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  6247                           "\"plspause paus\"",
  6252     if ( (!0 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  6253          (!0 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  6254          (0 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  6255         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  6256                           "\"plspause paus\"",
  6261     paus = atoi(argv[1+0]);
  6269         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  6286     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  6287         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  6293     if ( (!0 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  6294          (!0 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  6295          (0 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  6296         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  6302     strm = atoi(argv[1+0]);
  6310         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  6328     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  6329         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  6335     if ( (!0 && 0 && (argc < (2 + 1 - 0 - 0)) && (!0 || (argc < (2 + 1 - 0)))) ||
  6336          (!0 && !0 && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ||
  6337          (0 && (argc != 1) && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ) {
  6338         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  6344     nx = atoi(argv[1+0]);
  6345     ny = atoi(argv[1+1]);
  6353         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  6371     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  6372         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  6373                           "\"plssym def scale\"",
  6378     if ( (!0 && 0 && (argc < (2 + 1 - 0 - 0)) && (!0 || (argc < (2 + 1 - 0)))) ||
  6379          (!0 && !0 && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ||
  6380          (0 && (argc != 1) && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ) {
  6381         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  6382                           "\"plssym def scale\"",
  6387     def = atof(argv[1+0]);
  6388     scale = atof(argv[1+1]);
  6396         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  6414     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  6415         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  6421     if ( (!0 && 0 && (argc < (2 + 1 - 0 - 0)) && (!0 || (argc < (2 + 1 - 0)))) ||
  6422          (!0 && !0 && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ||
  6423          (0 && (argc != 1) && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ) {
  6424         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  6430     nx = atoi(argv[1+0]);
  6431     ny = atoi(argv[1+1]);
  6439         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  6452     const char *devname;
  6458     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  6459         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  6460                           "\"plstart devname nx ny\"",
  6465     if ( (!0 && 0 && (argc < (3 + 1 - 0 - 0)) && (!0 || (argc < (3 + 1 - 0)))) ||
  6466          (!0 && !0 && (argc != (3 + 1 - 0)) && (!0 || (argc != (3 + 1)))) ||
  6467          (0 && (argc != 1) && (argc != (3 + 1 - 0)) && (!0 || (argc != (3 + 1)))) ) {
  6468         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  6469                           "\"plstart devname nx ny\"",
  6474     devname = argv[1+0];
  6475     nx = atoi(argv[1+1]);
  6476     ny = atoi(argv[1+2]);
  6484         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  6506     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  6507         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  6508                           "\"plstring x y string\"",
  6513     if ( (!0 && 0 && (argc < (4 + 1 - 0 - 1)) && (!0 || (argc < (4 + 1 - 0)))) ||
  6514          (!0 && !0 && (argc != (4 + 1 - 1)) && (!0 || (argc != (4 + 1)))) ||
  6515          (0 && (argc != 1) && (argc != (4 + 1 - 1)) && (!0 || (argc != (4 + 1)))) ) {
  6516         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  6517                           "\"plstring x y string\"",
  6523     if (matx == NULL) 
return TCL_ERROR;
  6526     if (maty == NULL) 
return TCL_ERROR;
  6531     if ( ! (n <= matx->n[0] && matx->
n[0] == maty->
n[0]) ) {
  6532         Tcl_AppendResult( interp, 
"Length of both vectors must be equal", (
char *) NULL );
  6536         Tcl_AppendResult( interp, 
"Both vectors must be of type float", (
char *) NULL );
  6545         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  6569     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  6570         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  6571                           "\"plstring3 x y z string\"",
  6576     if ( (!0 && 0 && (argc < (5 + 1 - 0 - 1)) && (!0 || (argc < (5 + 1 - 0)))) ||
  6577          (!0 && !0 && (argc != (5 + 1 - 1)) && (!0 || (argc != (5 + 1)))) ||
  6578          (0 && (argc != 1) && (argc != (5 + 1 - 1)) && (!0 || (argc != (5 + 1)))) ) {
  6579         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  6580                           "\"plstring3 x y z string\"",
  6586     if (matx == NULL) 
return TCL_ERROR;
  6589     if (maty == NULL) 
return TCL_ERROR;
  6592     if (matz == NULL) 
return TCL_ERROR;
  6597     if ( ! (n <= matx->n[0] && matx->
n[0] == maty->
n[0] && matx->
n[0] == matz->
n[0]) ) {
  6598         Tcl_AppendResult( interp, 
"Length of all vectors must be equal", (
char *) NULL );
  6602         Tcl_AppendResult( interp, 
"All vectors must be of type float", (
char *) NULL );
  6611         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  6631     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  6632         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  6633                           "\"plstripa id pen x y\"",
  6638     if ( (!0 && 0 && (argc < (4 + 1 - 0 - 0)) && (!0 || (argc < (4 + 1 - 0)))) ||
  6639          (!0 && !0 && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ||
  6640          (0 && (argc != 1) && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ) {
  6641         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  6642                           "\"plstripa id pen x y\"",
  6647     id = atoi(argv[1+0]);
  6648     pen = atoi(argv[1+1]);
  6649     x = atof(argv[1+2]);
  6650     y = atof(argv[1+3]);
  6658         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  6675     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  6676         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  6682     if ( (!0 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  6683          (!0 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  6684          (0 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  6685         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  6691     id = atoi(argv[1+0]);
  6699         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  6720     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  6721         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  6722                           "\"plstyl mark space\"",
  6727     if ( (!0 && 0 && (argc < (3 + 1 - 0 - 1)) && (!0 || (argc < (3 + 1 - 0)))) ||
  6728          (!0 && !0 && (argc != (3 + 1 - 1)) && (!0 || (argc != (3 + 1)))) ||
  6729          (0 && (argc != 1) && (argc != (3 + 1 - 1)) && (!0 || (argc != (3 + 1)))) ) {
  6730         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  6731                           "\"plstyl mark space\"",
  6737     if (matmark == NULL) 
return TCL_ERROR;
  6738     mark = matmark->
idata;
  6740     if (matspace == NULL) 
return TCL_ERROR;
  6741     space = matspace->
idata;
  6742     nms = matmark->
n[0];
  6744     if ( ! (nms <= matmark->n[0] && matmark->
n[0] == matspace->
n[0]) ) {
  6745         Tcl_AppendResult( interp, 
"Length of both vectors must be equal", (
char *) NULL );
  6749         Tcl_AppendResult( interp, 
"Both vectors must be of type int", (
char *) NULL );
  6754     plstyl ( nms, mark, space );
  6758         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  6778     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  6779         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  6780                           "\"plsvpa xmin xmax ymin ymax\"",
  6785     if ( (!0 && 0 && (argc < (4 + 1 - 0 - 0)) && (!0 || (argc < (4 + 1 - 0)))) ||
  6786          (!0 && !0 && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ||
  6787          (0 && (argc != 1) && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ) {
  6788         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  6789                           "\"plsvpa xmin xmax ymin ymax\"",
  6794     xmin = atof(argv[1+0]);
  6795     xmax = atof(argv[1+1]);
  6796     ymin = atof(argv[1+2]);
  6797     ymax = atof(argv[1+3]);
  6801     plsvpa ( xmin, xmax, ymin, ymax );
  6805         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  6823     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  6824         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  6825                           "\"plsxax digmax digits\"",
  6830     if ( (!0 && 0 && (argc < (2 + 1 - 0 - 0)) && (!0 || (argc < (2 + 1 - 0)))) ||
  6831          (!0 && !0 && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ||
  6832          (0 && (argc != 1) && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ) {
  6833         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  6834                           "\"plsxax digmax digits\"",
  6839     digmax = atoi(argv[1+0]);
  6840     digits = atoi(argv[1+1]);
  6844     plsxax ( digmax, digits );
  6848         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  6866     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  6867         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  6868                           "\"plsyax digmax digits\"",
  6873     if ( (!0 && 2 && (argc < (2 + 1 - 2 - 0)) && (!0 || (argc < (2 + 1 - 2)))) ||
  6874          (!0 && !2 && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ||
  6875          (0 && (argc != 1) && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ) {
  6876         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  6877                           "\"plsyax digmax digits\"",
  6883     digmax = atoi(argv[1+0]);
  6886     digits = atoi(argv[1+1]);
  6891     plsyax ( digmax, digits );
  6895         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  6917     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  6918         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  6919                           "\"plsym x y code\"",
  6924     if ( (!0 && 0 && (argc < (4 + 1 - 0 - 1)) && (!0 || (argc < (4 + 1 - 0)))) ||
  6925          (!0 && !0 && (argc != (4 + 1 - 1)) && (!0 || (argc != (4 + 1)))) ||
  6926          (0 && (argc != 1) && (argc != (4 + 1 - 1)) && (!0 || (argc != (4 + 1)))) ) {
  6927         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  6928                           "\"plsym x y code\"",
  6934     if (matx == NULL) 
return TCL_ERROR;
  6937     if (maty == NULL) 
return TCL_ERROR;
  6939     code = atoi(argv[1+2]);
  6942     if ( ! (n <= matx->n[0] && matx->
n[0] == maty->
n[0]) ) {
  6943         Tcl_AppendResult( interp, 
"Length of both vectors must be equal", (
char *) NULL );
  6947         Tcl_AppendResult( interp, 
"Both vectors must be of type float", (
char *) NULL );
  6952     plsym ( n, x, y, code );
  6956         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  6974     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  6975         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  6976                           "\"plszax digmax digits\"",
  6981     if ( (!0 && 0 && (argc < (2 + 1 - 0 - 0)) && (!0 || (argc < (2 + 1 - 0)))) ||
  6982          (!0 && !0 && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ||
  6983          (0 && (argc != 1) && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ) {
  6984         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  6985                           "\"plszax digmax digits\"",
  6990     digmax = atoi(argv[1+0]);
  6991     digits = atoi(argv[1+1]);
  6995     plszax ( digmax, digits );
  6999         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  7015     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  7016         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  7022     if ( (!0 && 0 && (argc < (0 + 1 - 0 - 0)) && (!0 || (argc < (0 + 1 - 0)))) ||
  7023          (!0 && !0 && (argc != (0 + 1 - 0)) && (!0 || (argc != (0 + 1)))) ||
  7024          (0 && (argc != 1) && (argc != (0 + 1 - 0)) && (!0 || (argc != (0 + 1)))) ) {
  7025         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  7038         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  7055     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  7056         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  7057                           "\"pltimefmt fmt\"",
  7062     if ( (!0 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  7063          (!0 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  7064          (0 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  7065         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  7066                           "\"pltimefmt fmt\"",
  7079         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  7096     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  7097         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  7098                           "\"plvasp aspect\"",
  7103     if ( (!0 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  7104          (!0 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  7105          (0 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  7106         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  7107                           "\"plvasp aspect\"",
  7112     aspect = atof(argv[1+0]);
  7120         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  7141     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  7142         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  7143                           "\"plvpas xmin xmax ymin ymax aspect\"",
  7148     if ( (!0 && 0 && (argc < (5 + 1 - 0 - 0)) && (!0 || (argc < (5 + 1 - 0)))) ||
  7149          (!0 && !0 && (argc != (5 + 1 - 0)) && (!0 || (argc != (5 + 1)))) ||
  7150          (0 && (argc != 1) && (argc != (5 + 1 - 0)) && (!0 || (argc != (5 + 1)))) ) {
  7151         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  7152                           "\"plvpas xmin xmax ymin ymax aspect\"",
  7157     xmin = atof(argv[1+0]);
  7158     xmax = atof(argv[1+1]);
  7159     ymin = atof(argv[1+2]);
  7160     ymax = atof(argv[1+3]);
  7161     aspect = atof(argv[1+4]);
  7165     plvpas ( xmin, xmax, ymin, ymax, aspect );
  7169         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  7189     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  7190         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  7191                           "\"plvpor xmin xmax ymin ymax\"",
  7196     if ( (!0 && 0 && (argc < (4 + 1 - 0 - 0)) && (!0 || (argc < (4 + 1 - 0)))) ||
  7197          (!0 && !0 && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ||
  7198          (0 && (argc != 1) && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ) {
  7199         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  7200                           "\"plvpor xmin xmax ymin ymax\"",
  7205     xmin = atof(argv[1+0]);
  7206     xmax = atof(argv[1+1]);
  7207     ymin = atof(argv[1+2]);
  7208     ymax = atof(argv[1+3]);
  7212     plvpor ( xmin, xmax, ymin, ymax );
  7216         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  7232     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  7233         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  7239     if ( (!0 && 0 && (argc < (0 + 1 - 0 - 0)) && (!0 || (argc < (0 + 1 - 0)))) ||
  7240          (!0 && !0 && (argc != (0 + 1 - 0)) && (!0 || (argc != (0 + 1)))) ||
  7241          (0 && (argc != 1) && (argc != (0 + 1 - 0)) && (!0 || (argc != (0 + 1)))) ) {
  7242         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  7255         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  7282     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  7283         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  7284                           "\"plw3d basex basey height xmin0 xmax0 ymin0 ymax0 zmin0 zmax0 alt az\"",
  7289     if ( (!0 && 0 && (argc < (11 + 1 - 0 - 0)) && (!0 || (argc < (11 + 1 - 0)))) ||
  7290          (!0 && !0 && (argc != (11 + 1 - 0)) && (!0 || (argc != (11 + 1)))) ||
  7291          (0 && (argc != 1) && (argc != (11 + 1 - 0)) && (!0 || (argc != (11 + 1)))) ) {
  7292         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  7293                           "\"plw3d basex basey height xmin0 xmax0 ymin0 ymax0 zmin0 zmax0 alt az\"",
  7298     basex = atof(argv[1+0]);
  7299     basey = atof(argv[1+1]);
  7300     height = atof(argv[1+2]);
  7301     xmin0 = atof(argv[1+3]);
  7302     xmax0 = atof(argv[1+4]);
  7303     ymin0 = atof(argv[1+5]);
  7304     ymax0 = atof(argv[1+6]);
  7305     zmin0 = atof(argv[1+7]);
  7306     zmax0 = atof(argv[1+8]);
  7307     alt = atof(argv[1+9]);
  7308     az = atof(argv[1+10]);
  7312     plw3d ( basex, basey, height, xmin0, xmax0, ymin0, ymax0, zmin0, zmax0, alt, az );
  7316         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  7333     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  7334         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  7335                           "\"plwidth width\"",
  7340     if ( (!0 && 0 && (argc < (1 + 1 - 0 - 0)) && (!0 || (argc < (1 + 1 - 0)))) ||
  7341          (!0 && !0 && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ||
  7342          (0 && (argc != 1) && (argc != (1 + 1 - 0)) && (!0 || (argc != (1 + 1)))) ) {
  7343         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  7344                           "\"plwidth width\"",
  7349     width = atof(argv[1+0]);
  7357         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  7377     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  7378         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  7379                           "\"plwind xmin xmax ymin ymax\"",
  7384     if ( (!0 && 0 && (argc < (4 + 1 - 0 - 0)) && (!0 || (argc < (4 + 1 - 0)))) ||
  7385          (!0 && !0 && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ||
  7386          (0 && (argc != 1) && (argc != (4 + 1 - 0)) && (!0 || (argc != (4 + 1)))) ) {
  7387         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  7388                           "\"plwind xmin xmax ymin ymax\"",
  7393     xmin = atof(argv[1+0]);
  7394     xmax = atof(argv[1+1]);
  7395     ymin = atof(argv[1+2]);
  7396     ymax = atof(argv[1+3]);
  7400     plwind ( xmin, xmax, ymin, ymax );
  7404         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
  7422     if ( (argc == 2) && (strlen(argv[1])>0) && (strncmp(argv[1],
"-help",strlen(argv[1])) == 0) ) {
  7423         Tcl_AppendResult( interp, 
"command syntax: command should be ",
  7424                           "\"plxormod ?mod st?\"",
  7429     if ( (!1 && 0 && (argc < (2 + 1 - 0 - 0)) && (!0 || (argc < (2 + 1 - 0)))) ||
  7430          (!1 && !0 && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ||
  7431          (1 && (argc != 1) && (argc != (2 + 1 - 0)) && (!0 || (argc != (2 + 1)))) ) {
  7432         Tcl_AppendResult( interp, 
"wrong # args: command should be ",
  7433                           "\"plxormod ?mod st?\"",
  7438     mod = atoi(argv[1+0]);
  7446         Tcl_AppendResult( interp, 
" ", (
char *) NULL );
  7447     sprintf( 
buf, 
"%d", st );
  7449         Tcl_SetVar( interp, argv[1+1], 
buf, 0 );
  7451         Tcl_AppendResult( interp, 
buf, (
char *) NULL );
  7454         Tcl_AppendResult(interp, 
errmsg, (
char *) NULL);
 static int pllstyCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plscmap1Cmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plmkstrmCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plgfamCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int pllightsourceCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plerryCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plptex3Cmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plhlsrgbCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plsdidevCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plgfnamCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plgcolbgaCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plvaspCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
void pldid2pc(PLFLT *xmin, PLFLT *ymin, PLFLT *xmax, PLFLT *ymax)
static int plscompressionCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plgstrmCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plcpstrmCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plsdimapCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plscmap0nCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plgzaxCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
tclMatrix * Tcl_GetMatrixPtr(Tcl_Interp *interp, const char *matName)
static int plspal1Cmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plvporCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plaxesCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
#define pl_setcontlabelparam
static int plscmap1aCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plreplotCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plscmap0aCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plschrCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plstringCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plgverCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plsminCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plgcmap1_rangeCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plgfontCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
void pldip2dc(PLFLT *xmin, PLFLT *ymin, PLFLT *xmax, PLFLT *ymax)
static int plvpasCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plgradientCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plsescCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plctimeCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plgpageCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plpoly3Cmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plgescCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plgxaxCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plline3Cmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plscol0Cmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plcol1Cmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plstarCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plscmap1laCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plglevelCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plbinCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plprecCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plgcol0aCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plendCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plpoin3Cmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plssymCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plxormodCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plgdidevCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plenvCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plsdipltCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int pladvCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plgspaCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plend1Cmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plenv0Cmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plpoinCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plgcompressionCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plscmap1lCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plmtex3Cmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plfillCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plsdioriCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plbox3Cmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plfontCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plscmap1nCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plrgbhlsCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plgyaxCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plvstaCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plbtimeCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int pldip2dcCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plscolorCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plsvpaCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plflushCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plboxCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plpatCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plspauseCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plsfontCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plgvpdCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plgdipltCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plclearCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plbopCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plstring3Cmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plpstyCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plgvpwCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plsstrmCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plscol0aCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plwidthCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plsymCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plscolbgaCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plarcCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plstripdCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plscolbgCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plseedCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plsoriCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int pl_setcontlabelparamCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plw3dCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plhistCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plsmajCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plsdiplzCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plstripaCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plgfciCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plspageCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plstartCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plsdevCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int pllineCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plsxaxCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plcol0Cmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plerrxCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plgcol0Cmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plstylCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plgchrCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plssubCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plwindCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int pldid2pcCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plfontldCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plfamadvCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plsyaxCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plgraCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int pllabCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plscmap0Cmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int pleopCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plgcolbgCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
#define pl_setcontlabelformat
static int plsfamCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plszaxCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int pltimefmtCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static Tcl_Interp * interp
static int plpathCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plinitCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plsfciCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int pljoinCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plconfigtimeCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plspal0Cmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int pl_setcontlabelformatCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plptexCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plfill3Cmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plgdevCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plsfnamCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plgdioriCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plmtexCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
PLDLLIMPEXP_CXX void fill(PLINT n, const PLFLT *x, const PLFLT *y)
static int pltextCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plscmap1_rangeCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])
static int plcalc_worldCmd(ClientData PL_UNUSED(clientData), Tcl_Interp *interp, int argc, const char *argv[])