IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 22, 2007, 11:45:48 AM (19 years ago)
Author:
magnier
Message:

converting to the new kapa 2.0 API set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmSourcePlotMoments.c

    r13213 r13473  
    55 *  @author EAM, IfA
    66 *
    7  *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2007-05-04 00:53:44 $
     7 *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2007-05-22 21:45:48 $
    99 *
    1010 *  Copyright 2006 IfA, University of Hawaii
     
    7575    }
    7676
    77     KapaClear (kapa, true);
     77    KapaClearPlots (kapa);
    7878    KapaInitGraph (&graphdata);
    7979    section.dx = dx / (float) DX;
     
    134134    graphdata.style = 2;
    135135    KapaPrepPlot (kapa, nF, &graphdata);
    136     KapaPlotVector (kapa, nF, xFaint->data.F32);
    137     KapaPlotVector (kapa, nF, yFaint->data.F32);
     136    KapaPlotVector (kapa, nF, xFaint->data.F32, "x");
     137    KapaPlotVector (kapa, nF, yFaint->data.F32, "y");
    138138
    139139    graphdata.color = KapaColorByName ("red");
     
    142142    graphdata.style = 2;
    143143    KapaPrepPlot (kapa, nB, &graphdata);
    144     KapaPlotVector (kapa, nB, xBright->data.F32);
    145     KapaPlotVector (kapa, nB, yBright->data.F32);
     144    KapaPlotVector (kapa, nB, xBright->data.F32, "x");
     145    KapaPlotVector (kapa, nB, yBright->data.F32, "y");
    146146
    147147    if (layout->i == layout->nTotal - 1) {
    148148        psLogMsg ("psphot", 3, "saving plot to %s", file->filename);
    149149        KapaPNG (kapa, file->filename);
    150         KapaClear (kapa, true);
     150        KapaClearPlots (kapa);
    151151    }
    152152
Note: See TracChangeset for help on using the changeset viewer.