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/imcombine/pmReadoutCombine.c

    r30622 r40454  
    505505
    506506    graphdata.color = KapaColorByName("black");
    507     graphdata.style = 2;
    508     graphdata.ptype = 2;
     507    graphdata.style = KAPA_PLOT_POINTS;
     508    graphdata.ptype = KAPA_POINT_CROSS;
    509509    KapaPrepPlot  (kapa, xSub->n, &graphdata);
    510510    KapaPlotVector(kapa, xSub->n, xSub->data.F32, "x");
     
    512512
    513513    graphdata.color = KapaColorByName("red");
    514     graphdata.style = 2;
    515     graphdata.ptype = 7;
     514    graphdata.style = KAPA_PLOT_POINTS;
     515    graphdata.ptype = KAPA_POINT_CIRCLE_OPEN;
    516516    KapaPrepPlot  (kapa, xAll->n, &graphdata);
    517517    KapaPlotVector(kapa, xAll->n, xAll->data.F32, "x");
     
    519519
    520520    graphdata.color = KapaColorByName("blue");
    521     graphdata.style = 0;
    522     graphdata.ptype = 7;
     521    graphdata.style = KAPA_PLOT_CONNECT;
     522    graphdata.ptype = KAPA_POINT_CIRCLE_OPEN;
    523523    KapaPrepPlot  (kapa, 2, &graphdata);
    524524    KapaPlotVector(kapa, 2, xline, "x");
Note: See TracChangeset for help on using the changeset viewer.