IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 22, 2006, 6:00:30 PM (20 years ago)
Author:
magnier
Message:

further work on plotting functions

File:
1 edited

Legend:

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

    r10648 r10827  
    77 *  @author EAM, IfA
    88 *
    9  *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2006-12-12 08:25:43 $
     9 *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2006-12-23 04:00:30 $
    1111 *
    1212 *  Copyright 2006 Institute for Astronomy, University of Hawaii
     
    3030    // to make this thread safe, we could check the thread ID and tie to it
    3131    static int kapa_fd = -1;
    32 int pmKapaOpen ()
     32int pmKapaOpen (bool showWindow)
    3333{
     34    char kapa[64];
     35
     36    if (showWindow) {
     37        strcpy (kapa, "kapa");
     38    } else {
     39        strcpy (kapa, "kapa -noX");
     40    }
    3441
    3542    if (kapa_fd == -1) {
    36         // XXX make -noX an option
    37         // XXX -noX is crashing kapa on point plotting
    38         kapa_fd = KapaOpen ("kapa", "psphot");
     43        kapa_fd = KapaOpen (kapa, "psphot");
    3944    }
    4045    return kapa_fd;
Note: See TracChangeset for help on using the changeset viewer.