X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fcharts%2Fbox-whisker.h;h=656d8d49b3cb496277b0a8d49f386b1e6492d41c;hb=cd3e91d39a1f9b80c8e81e54942a1be1aed81213;hp=cf4d2e689dbac2784a39e4dac94c374a9d446cc7;hpb=000e3e8c5818476c3afbc75fad9347aefb6e902a;p=pspp diff --git a/src/output/charts/box-whisker.h b/src/output/charts/box-whisker.h index cf4d2e689d..656d8d49b3 100644 --- a/src/output/charts/box-whisker.h +++ b/src/output/charts/box-whisker.h @@ -1,28 +1,25 @@ -/* PSPP - computes sample statistics. +/* PSPP - a program for statistical analysis. Copyright (C) 2004 Free Software Foundation, Inc. - Written by John Darrington - 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 the Free Software Foundation; either version 2 of the - License, or (at your option) any later version. + 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 + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301, USA. */ + along with this program. If not, see . */ #ifndef BOX_WHISKER_H #define BOX_WHISKER_H -#include - struct chart ; +struct weighted_value; +struct metrics; /* Draw an outlier on the plot CH * at CENTRELINE @@ -30,14 +27,14 @@ struct chart ; * If EXTREME is non zero, then consider it to be an extreme * value */ -void draw_outlier(struct chart *ch, double centreline, - struct weighted_value **wvp, +void draw_outlier(struct chart *ch, double centreline, + struct weighted_value **wvp, int idx, short extreme); void boxplot_draw_boxplot(struct chart *ch, - double box_centre, + double box_centre, double box_width, struct metrics *m, const char *name);