264 |
cmd.v_id); |
cmd.v_id); |
265 |
} |
} |
266 |
|
|
267 |
|
#ifndef NO_CHARTS |
268 |
if ( cmd.a_plot[XMN_PLT_HISTOGRAM] ) |
if ( cmd.a_plot[XMN_PLT_HISTOGRAM] ) |
269 |
{ |
{ |
270 |
for ( v = 0 ; v < n_dependent_vars; ++v ) |
for ( v = 0 ; v < n_dependent_vars; ++v ) |
280 |
&normal, 0); |
&normal, 0); |
281 |
} |
} |
282 |
} |
} |
283 |
|
#endif |
284 |
|
|
285 |
} |
} |
286 |
|
|
332 |
if ( cmd.a_plot[XMN_PLT_NPPLOT] ) |
if ( cmd.a_plot[XMN_PLT_NPPLOT] ) |
333 |
np_plot(&(*fs)->m[v], s); |
np_plot(&(*fs)->m[v], s); |
334 |
|
|
335 |
|
#ifndef NO_CHARTS |
336 |
if ( cmd.a_plot[XMN_PLT_HISTOGRAM] ) |
if ( cmd.a_plot[XMN_PLT_HISTOGRAM] ) |
337 |
{ |
{ |
338 |
struct normal_curve normal; |
struct normal_curve normal; |
344 |
histogram_plot((*fs)->m[v].histogram, |
histogram_plot((*fs)->m[v].histogram, |
345 |
s, &normal, 0); |
s, &normal, 0); |
346 |
} |
} |
347 |
|
#endif |
348 |
|
|
349 |
} /* for ( fs .... */ |
} /* for ( fs .... */ |
350 |
|
|
1630 |
struct variable **vars, int n_vars, |
struct variable **vars, int n_vars, |
1631 |
const struct variable *id) |
const struct variable *id) |
1632 |
{ |
{ |
1633 |
|
#ifndef NO_CHARTS |
1634 |
int i; |
int i; |
1635 |
struct factor_statistics **fs ; |
struct factor_statistics **fs ; |
1636 |
|
|
1680 |
chart_finalise(&ch); |
chart_finalise(&ch); |
1681 |
|
|
1682 |
} |
} |
1683 |
|
#endif |
1684 |
} |
} |
1685 |
|
|
1686 |
|
|
1694 |
int n_vars, |
int n_vars, |
1695 |
const struct variable *id) |
const struct variable *id) |
1696 |
{ |
{ |
1697 |
|
#ifndef NO_CHARTS |
1698 |
int i; |
int i; |
1699 |
|
|
1700 |
for ( i = 0 ; i < n_vars ; ++i ) |
for ( i = 0 ; i < n_vars ; ++i ) |
1749 |
|
|
1750 |
chart_finalise(&ch); |
chart_finalise(&ch); |
1751 |
} |
} |
1752 |
|
#endif |
1753 |
} |
} |
1754 |
|
|
1755 |
|
|
1758 |
void |
void |
1759 |
np_plot(const struct metrics *m, const char *factorname) |
np_plot(const struct metrics *m, const char *factorname) |
1760 |
{ |
{ |
1761 |
|
#ifndef NO_CHARTS |
1762 |
int i; |
int i; |
1763 |
double yfirst=0, ylast=0; |
double yfirst=0, ylast=0; |
1764 |
|
|
1837 |
|
|
1838 |
chart_finalise(&np_chart); |
chart_finalise(&np_chart); |
1839 |
chart_finalise(&dnp_chart); |
chart_finalise(&dnp_chart); |
1840 |
|
#endif |
1841 |
} |
} |
1842 |
|
|
1843 |
|
|