void chart_finalise(struct chart *ch);
+double chart_rounded_tick(double tick);
void chart_write_xlabel(struct chart *ch, const char *label);
void chart_write_ylabel(struct chart *ch, const char *label);
void histogram_write_legend(struct chart *ch, const struct normal_curve *norm);
+/* Plot a gsl_histogram */
void histogram_plot(const gsl_histogram *hist, const char *factorname,
const struct normal_curve *norm, short show_normal);
+/* Create a gsl_histogram and set it's parameters based upon
+ x_min, x_max and bins.
+ The caller is responsible for freeing the histogram.
+*/
+gsl_histogram * histogram_create(double bins, double x_min, double x_max) ;
+
+
+
struct slice {
+
enum CHART_DIM
{
CHART_DIM_X,