pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] Changes to pspp/src/examine.q


From: John Darrington
Subject: [Pspp-cvs] Changes to pspp/src/examine.q
Date: Thu, 06 Jan 2005 19:38:41 -0500

Index: pspp/src/examine.q
diff -u pspp/src/examine.q:1.16 pspp/src/examine.q:1.17
--- pspp/src/examine.q:1.16     Fri Dec 31 08:51:07 2004
+++ pspp/src/examine.q  Fri Jan  7 00:17:20 2005
@@ -264,6 +264,7 @@
                                   cmd.v_id);
            }
 
+#ifndef NO_CHARTS
          if ( cmd.a_plot[XMN_PLT_HISTOGRAM] ) 
            {
              for ( v = 0 ; v < n_dependent_vars; ++v ) 
@@ -279,6 +280,7 @@
                                 &normal, 0);
                }
            }
+#endif
 
        }
 
@@ -330,6 +332,7 @@
                  if ( cmd.a_plot[XMN_PLT_NPPLOT] ) 
                    np_plot(&(*fs)->m[v], s);
 
+#ifndef NO_CHARTS
                  if ( cmd.a_plot[XMN_PLT_HISTOGRAM] ) 
                    {
                      struct normal_curve normal;
@@ -341,6 +344,7 @@
                      histogram_plot((*fs)->m[v].histogram, 
                                     s,  &normal, 0);
                    }
+#endif
                  
                } /* for ( fs .... */
 
@@ -1626,6 +1630,7 @@
                   struct variable **vars, int n_vars, 
                   const struct variable *id)
 {
+#ifndef NO_CHARTS
   int i;
   struct factor_statistics **fs ;
 
@@ -1675,7 +1680,7 @@
       chart_finalise(&ch);
 
     }
-
+#endif
 }
 
 
@@ -1689,6 +1694,7 @@
               int n_vars,
               const struct variable *id)
 {
+#ifndef NO_CHARTS
   int i;
 
   for ( i = 0 ; i < n_vars ; ++i ) 
@@ -1743,7 +1749,7 @@
 
       chart_finalise(&ch);
     }
-
+#endif
 }
 
 
@@ -1752,6 +1758,7 @@
 void
 np_plot(const struct metrics *m, const char *factorname)
 {
+#ifndef NO_CHARTS
   int i;
   double yfirst=0, ylast=0;
 
@@ -1830,7 +1837,7 @@
 
   chart_finalise(&np_chart);
   chart_finalise(&dnp_chart);
-
+#endif
 }
 
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]