IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 22, 2020, 10:56:43 AM (6 years ago)
Author:
eugene
Message:

new option to control number of major ticks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/kapa2/src/LoadFrame.c

    r41344 r41376  
    4242  graph[0].axis[3].fLabelRange = graph[0].data.fLabelRangeYp;
    4343
     44  // fMinor and dMajor should have defaults of NAN
     45  // with default behavior defined in TickMarks.c
     46  // for one axis (x or y), if both + and - are
     47  // NAN, keep the default behavior, but if one
     48  // is NOT NAN, use that for both (synchronization)
     49
    4450  graph[0].axis[0].fMinor = graph[0].data.fMinorXm;
    4551  graph[0].axis[1].fMinor = graph[0].data.fMinorYm;
    4652  graph[0].axis[2].fMinor = graph[0].data.fMinorXp;
    4753  graph[0].axis[3].fMinor = graph[0].data.fMinorYp;
     54
     55  graph[0].axis[0].dMajor = graph[0].data.dMajorXm;
     56  graph[0].axis[1].dMajor = graph[0].data.dMajorYm;
     57  graph[0].axis[2].dMajor = graph[0].data.dMajorXp;
     58  graph[0].axis[3].dMajor = graph[0].data.dMajorYp;
    4859
    4960  strcpy (graph[0].axis[0].format, graph[0].data.formatXm);
Note: See TracChangeset for help on using the changeset viewer.