[BACK]Return to misc.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gnuplot

Diff for /OpenXM_contrib/gnuplot/Attic/misc.c between version 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2000/01/09 17:00:54 version 1.1.1.2, 2000/01/22 14:15:59
Line 68  do{if (datatype[axis]==TIME) { \
Line 68  do{if (datatype[axis]==TIME) { \
   }\    }\
   putc('"', fp);\    putc('"', fp);\
  } else {\   } else {\
   fprintf(fp,"%g",x);\    fprintf(fp,"%#g",x);\
 }} while(0)  }} while(0)
   
   
Line 449  FILE *fp;
Line 449  FILE *fp;
     struct text_label *this_label;      struct text_label *this_label;
     struct arrow_def *this_arrow;      struct arrow_def *this_arrow;
     struct linestyle_def *this_linestyle;      struct linestyle_def *this_linestyle;
     char str[MAX_LINE_LEN + 1];      char str[MAX_LINE_LEN+1];
   
     /* opinions are split as to whether we save term and outfile      /* opinions are split as to whether we save term and outfile
      * as a compromise, we output them as comments !       * as a compromise, we output them as comments !
Line 502  set y2data%s\n",
Line 502  set y2data%s\n",
                 dgrid3d_col_fineness,                  dgrid3d_col_fineness,
                 dgrid3d_norm_value);                  dgrid3d_norm_value);
   
     fprintf(fp, "\      fprintf(fp, "set dummy %s,%s\n",dummy_var[0], dummy_var[1]);
 set dummy %s,%s\n\      fprintf(fp, "set format x \"%s\"\n", conv_text(str, xformat));
 set format x \"%s\"\n\      fprintf(fp, "set format y \"%s\"\n", conv_text(str, yformat));
 set format y \"%s\"\n\      fprintf(fp, "set format x2 \"%s\"\n", conv_text(str, x2format));
 set format x2 \"%s\"\n\      fprintf(fp, "set format y2 \"%s\"\n", conv_text(str, y2format));
 set format y2 \"%s\"\n\      fprintf(fp, "set format z \"%s\"\n", conv_text(str, zformat));
 set format z \"%s\"\n\      fprintf(fp, "set angles %s\n",
 set angles %s\n",  
             dummy_var[0], dummy_var[1],  
             conv_text(str, xformat),  
             conv_text(str, yformat),  
             conv_text(str, x2format),  
             conv_text(str, y2format),  
             conv_text(str, zformat),  
             (angles_format == ANGLES_RADIANS) ? "radians" : "degrees");              (angles_format == ANGLES_RADIANS) ? "radians" : "degrees");
   
     if (work_grid.l_type == 0)      if (work_grid.l_type == 0)
Line 1154  TBOOLEAN can_do_args;
Line 1147  TBOOLEAN can_do_args;
                 }                  }
                 screen_ok = FALSE;      /* make sure command line is                  screen_ok = FALSE;      /* make sure command line is
                                            echoed on error */                                             echoed on error */
                 do_line();                  if (do_line())
                       stop = TRUE;
             }              }
         }          }
     }      }

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>