Changeset 17203
- Timestamp:
- Mar 28, 2008, 3:37:17 PM (18 years ago)
- Location:
- trunk/Ohana/src/relastro/src
- Files:
-
- 2 edited
-
plot_scatter.c (modified) (2 diffs)
-
plotstuff.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/relastro/src/plot_scatter.c
r16810 r17203 4 4 5 5 # if (0) 6 int i, j, k, m, N, Ntot ;6 int i, j, k, m, N, Ntot, Nsecfilt; 7 7 float Mrel, Mcal, Mmos, Mgrid; 8 8 double *xlist, *ylist, *ilist; 9 9 Graphdata graphdata; 10 11 // XXX in the future, use catalog[0].Nsecfilt only? allow catalogs to have variable Nsecfilt? 12 Nsecfilt = GetPhotcodeNsecfilt (); 13 assert (catalog[0].Nsecfilt == Nsecfilt); 10 14 11 15 Ntot = 0; … … 30 34 if (catalog[i].measure[m].flags & MEAS_BAD) continue; 31 35 32 Mrel = catalog[i].secfilt[ PhotNsec*j+PhotSec].M;36 Mrel = catalog[i].secfilt[Nsecfilt*j+PhotSec].M; 33 37 xlist[N] = Mrel; 34 ylist[N] = PhotSys (&catalog[i].measure[m], &catalog[i].average[j], &catalog[i].secfilt[j* PhotNsec]) - Mcal - Mmos - Mgrid - Mrel;38 ylist[N] = PhotSys (&catalog[i].measure[m], &catalog[i].average[j], &catalog[i].secfilt[j*Nsecfilt]) - Mcal - Mmos - Mgrid - Mrel; 35 39 ilist[N] = PhotInst (&catalog[i].measure[m]); 36 40 N++; -
trunk/Ohana/src/relastro/src/plotstuff.c
r16060 r17203 4 4 static int Xgraph[5] = {0,0,0,0,0}; 5 5 static int active; 6 7 enum {black, white, red, orange, yellow, green, blue, indigo, violet}; 6 8 7 9 /*
Note:
See TracChangeset
for help on using the changeset viewer.
