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

Location:
trunk/psModules/src/extras
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/extras/pmKapaPlots.c

    r23487 r40454  
    136136
    137137    graphdata.color = KapaColorByName ("black");
    138     graphdata.ptype = 0;
     138    graphdata.ptype = KAPA_POINT_BOX_SOLID;
    139139    graphdata.size = 0.5;
    140     graphdata.style = 2;
     140    graphdata.style = KAPA_PLOT_POINTS;
    141141    KapaPrepPlot (kapa, xVec->n, &graphdata);
    142142    KapaPlotVector (kapa, xVec->n, xVec->data.F32, "x");
  • trunk/psModules/src/extras/pmVisual.c

    r36856 r40454  
    262262
    263263    // the point size will be scaled from the z vector
    264     graphdata->ptype = 7;
    265     graphdata->style = 2;
     264    graphdata->ptype = KAPA_POINT_CIRCLE_OPEN;
     265    graphdata->style = KAPA_PLOT_POINTS;
    266266    graphdata->size = -1;
    267267    KapaPrepPlot (kapid, xVec->n, graphdata);
Note: See TracChangeset for help on using the changeset viewer.