| 111 | } |
| 112 | |
| 113 | void Window::hist(const array& X, const double minval, const double maxval, |
| 114 | const char* const title) { |
| 115 | af_cell temp{_r, _c, title, AF_COLORMAP_DEFAULT}; |
| 116 | AF_THROW(af_draw_hist(get(), X.get(), minval, maxval, &temp)); |
| 117 | } |
| 118 | |
| 119 | void Window::surface(const array& S, const char* const title) { |
| 120 | af::array xVals = range(S.dims(0)); |