/[pspp]/pspp/src/examine.q
ViewVC logotype

Diff of /pspp/src/examine.q

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16 by jmd, Fri Dec 31 08:51:07 2004 UTC revision 1.17 by jmd, Fri Jan 7 00:17:20 2005 UTC
# Line 264  output_examine(void) Line 264  output_examine(void)
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 )
# Line 279  output_examine(void) Line 280  output_examine(void)
280                                   &normal, 0);                                   &normal, 0);
281                  }                  }
282              }              }
283    #endif
284    
285          }          }
286    
# Line 330  output_examine(void) Line 332  output_examine(void)
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;
# Line 341  output_examine(void) Line 344  output_examine(void)
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    
# Line 1626  box_plot_variables(const struct factor * Line 1630  box_plot_variables(const struct factor *
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    
# Line 1675  box_plot_variables(const struct factor * Line 1680  box_plot_variables(const struct factor *
1680        chart_finalise(&ch);        chart_finalise(&ch);
1681    
1682      }      }
1683    #endif
1684  }  }
1685    
1686    
# Line 1689  box_plot_group(const struct factor *fctr Line 1694  box_plot_group(const struct factor *fctr
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 )
# Line 1743  box_plot_group(const struct factor *fctr Line 1749  box_plot_group(const struct factor *fctr
1749    
1750        chart_finalise(&ch);        chart_finalise(&ch);
1751      }      }
1752    #endif
1753  }  }
1754    
1755    
# Line 1752  box_plot_group(const struct factor *fctr Line 1758  box_plot_group(const struct factor *fctr
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    
# Line 1830  np_plot(const struct metrics *m, const c Line 1837  np_plot(const struct metrics *m, const c
1837    
1838    chart_finalise(&np_chart);    chart_finalise(&np_chart);
1839    chart_finalise(&dnp_chart);    chart_finalise(&dnp_chart);
1840    #endif
1841  }  }
1842    
1843    

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26