Graphics_extensions.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef _Graphics_extensions_h_
  2. #define _Graphics_extensions_h_
  3. /* Graphics_extensions.h
  4. *
  5. * Copyright (C) 2012-2018 David Weenink
  6. *
  7. * This code is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation; either version 2 of the License, or (at
  10. * your option) any later version.
  11. *
  12. * This code is distributed in the hope that it will be useful, but
  13. * WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU General Public License
  18. * along with this work. If not, see <http://www.gnu.org/licenses/>.
  19. */
  20. #include "Graphics.h"
  21. /**
  22. Draw a box plot of data[1..ndata]. The vertical center line of the plot
  23. is at position 'x'. The rectangle box is 2*w wide, the whisker 2*r.
  24. All drawing outside [ymin, ymax] is clipped.
  25. */
  26. void Graphics_boxAndWhiskerPlot (Graphics g, constVEC data, double x, double r, double w, double ymin, double ymax);
  27. void Graphics_quantileQuantilePlot (Graphics g, integer numberOfQuantiles, constVEC xdata, constVEC ydata,
  28. double xmin, double xmax, double ymin, double ymax, int labelSize, conststring32 plotLabel);
  29. void Graphics_lagPlot (Graphics g, constVEC x, double xmin, double xmax, integer lag, int labelSize, conststring32 plotLabel);
  30. #endif /* _Graphics_extensions_h_ */