histogram tick drawing - added format generation for optimum tick drawing
[pspp] / src / math / chart-geometry.h
index 08ae1d0ca3e100c23eee6b4a2aea4f9db634a611..67d35bb62fe423afcd248859c1db5e119c00ff39 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPP - a program for statistical analysis.
-   Copyright (C) 2004 Free Software Foundation, Inc.
+   Copyright (C) 2004, 2015 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -24,5 +24,8 @@ void chart_rounded_tick (double tick, struct decimal *);
 void chart_get_scale (double high, double low,
                      struct decimal *lower, struct decimal *interval, int *n_ticks);
 
+char *
+chart_get_ticks_format (const double max, const double min, const unsigned int nticks,
+                       double *scale);
 
 #endif