IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 22, 2007, 12:23:09 PM (19 years ago)
Author:
eugene
Message:

upgrading to kapa 2.0 API, upgrades to dvo user interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/dvo/dmt.c

    r12332 r13479  
    44int dmt (int argc, char **argv) {
    55 
    6   int i, m, k, N, Ngraph, SaveVectors;
     6  int i, m, k, N, kapa, SaveVectors;
    77  int Nsec, Nsecfilt, NPTS;
    88  double Radius;
     
    3838  }
    3939
    40   Ngraph = 0;
    41   if (!GetGraphData (&graphsky, NULL, &Ngraph)) return (FALSE);
     40  // XXX this needs to be fixed: how to access different graphs at once?
     41  gprint (GP_ERR, "ERROR: this function is currently disabled\n");
     42  return (FALSE);
     43  if (!GetGraphData (&graphsky, &kapa, NULL)) return (FALSE);
    4244  if (!GetGraph (&graphmode, NULL, NULL)) return (FALSE);
    4345
     
    142144  } else {
    143145    graphmode.style = 2; /* set style to points */
    144     PrepPlotting (N, &graphmode);
    145    
    146     PlotVector (N, Xvec.elements);
    147     PlotVector (N, Yvec.elements);
     146    PlotVector (kapa, N, Xvec.elements, Yvec.elements, &graphmode);
    148147
    149148    free (Xvec.elements);
Note: See TracChangeset for help on using the changeset viewer.