IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 17, 2008, 1:06:32 PM (18 years ago)
Author:
eugene
Message:

flip EW axis on plots

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroDemoPlot.c

    r19238 r19594  
    101101    }
    102102    xVec->n = yVec->n = zVec->n = n;
     103
    103104    pmKapaPlotVectorTriple_AutoLimits_OpenGraph (kapa, &graphdata, xVec, yVec, zVec, false);
    104105
     
    124125    xVec->n = yVec->n = zVec->n = n;
    125126    pmKapaPlotVectorTriple_AutoLimits_OpenGraph (kapa, &graphdata, xVec, yVec, zVec, false);
     127
     128    // flip x (East increase to left)
     129    SWAP (graphdata.xmin, graphdata.xmax);
     130    KapaSetLimits (kapa, &graphdata);
    126131
    127132    // pause and wait for user input:
     
    189194    pmKapaPlotVectorTriple_AutoLimits_OpenGraph (kapa, &graphdata, xVec, yVec, zVec, false);
    190195
     196    // flip x (East increase to left)
     197    SWAP (graphdata.xmin, graphdata.xmax);
     198    KapaSetLimits (kapa, &graphdata);
     199
    191200    // pause and wait for user input:
    192201    // continue, save (provide name), ??
Note: See TracChangeset for help on using the changeset viewer.