Родитель
4efaa7d490
Сommit
560d928711
@ -1,5 +1,5 @@
|
||||
#pragma once
|
||||
#include <vector>
|
||||
|
||||
std::vector<size_t>
|
||||
;std::vector<size_t>
|
||||
make_histogram(const std::vector<double> &numbers, size_t &bin_count);
|
||||
|
@ -0,0 +1,5 @@
|
||||
#pragma once
|
||||
#include <vector>
|
||||
|
||||
bool
|
||||
find_minmax(const std::vector<double> &numbers, double& min, double& max)
|
@ -1,12 +1,22 @@
|
||||
#pragma once
|
||||
#include <vector>
|
||||
using namespace std;
|
||||
|
||||
void
|
||||
color_find(double bin, int maxb, int& color);
|
||||
|
||||
void
|
||||
svg_begin(double width, double height);
|
||||
|
||||
void
|
||||
svg_end();
|
||||
|
||||
void
|
||||
svg_text(double left, double baseline, string text);
|
||||
|
||||
void
|
||||
svg_rect(double x, double y, double width, double height, string stroke, string fill);
|
||||
|
||||
void
|
||||
show_histogram_svg(const vector<size_t>& bins);
|
||||
|
||||
|
Загрузка…
Ссылка в новой задаче