IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 16, 2006, 10:58:49 PM (20 years ago)
Author:
eugene
Message:

major updates to use gprint for buffered / threaded printing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/zplot.c

    r2843 r7917  
    1818
    1919  if (argc != 6) {
    20     fprintf (stderr, "USAGE: zplot <x> <y> <z> min max\n");
     20    gprint (GP_ERR, "USAGE: zplot <x> <y> <z> min max\n");
    2121    return (FALSE);
    2222  }
     
    3030  if ((zvec = SelectVector (argv[3], OLDVECTOR, TRUE)) == NULL) return (FALSE);
    3131  if (xvec[0].Nelements != yvec[0].Nelements) {
    32     fprintf (stderr, "vectors %s and %s not the same length\n", argv[1], argv[2]);
     32    gprint (GP_ERR, "vectors %s and %s not the same length\n", argv[1], argv[2]);
    3333    return (FALSE);
    3434  }
    3535  if (xvec[0].Nelements != zvec[0].Nelements) {
    36     fprintf (stderr, "vectors %s and %s not the same length\n", argv[1], argv[3]);
     36    gprint (GP_ERR, "vectors %s and %s not the same length\n", argv[1], argv[3]);
    3737    return (FALSE);
    3838  }
Note: See TracChangeset for help on using the changeset viewer.