IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 23, 2018, 11:21:41 AM (8 years ago)
Author:
eugene
Message:

changing from numerical values to named enums for graphdata elements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/detrend/pmDark.c

    r35586 r40454  
    11581158
    11591159        graphdata.color = KapaColorByName("black");
    1160         graphdata.style = 2;
    1161         graphdata.ptype = 2;
     1160        graphdata.style = KAPA_PLOT_POINTS;
     1161        graphdata.ptype = KAPA_POINT_CROSS;
    11621162        KapaPrepPlot  (kapa[i], xSub->n, &graphdata);
    11631163        KapaPlotVector(kapa[i], xSub->n, xSub->data.F32, "x");
     
    11901190        KapaGetGraphData(kapa[i], &graphdata);
    11911191        graphdata.color = KapaColorByName("red");
    1192         graphdata.style = 2;
    1193         graphdata.ptype = 7;
     1192        graphdata.style = KAPA_PLOT_POINTS;
     1193        graphdata.ptype = KAPA_POINT_CIRCLE_OPEN;
    11941194        KapaPrepPlot  (kapa[i], xFit->n, &graphdata);
    11951195        KapaPlotVector(kapa[i], xFit->n, xFit->data.F32, "x");
Note: See TracChangeset for help on using the changeset viewer.