|
void | add_data (TCL_args args) |
|
void | reread () |
|
void | clear () |
|
void | outputdat (TCL_args args) |
|
double | labelheight () const |
| height (or width) of an axis label in pixels
|
|
double | lh (double width, double height) const |
|
cairo_surface_t * | cairoSurface () const |
|
int | width () const |
|
int | height () const |
|
void | setMinMax () |
| set min/max to autoscale on contained data
|
|
string | Image () const |
| set/get the Tk image that this class writes to.
|
|
string | Image (const string &im, bool transparency=true) |
|
string | image (TCL_args args) |
|
void | redraw () |
| redraw the plot
|
|
virtual void | draw (cairo::Surface &) |
| draw the plot onto a given surface
|
|
void | draw (cairo_t *, double width, double height) const |
|
void | clear () |
| clear all datapoints (and redraw)
|
|
void | add (unsigned pen, double x, double y) |
| add a datapoint
|
|
void | add (cairo::Surface &, unsigned pen, double x, double y) |
|
template<class C > |
void | add (unsigned pen, const C &x, const C &y) |
| add multiple points (C=container - eg vector/array)
|
|
template<class C > |
void | add (cairo::Surface &surf, unsigned pen, const C &x1, const C &y1) |
|
void | add (const array_ns::array< unsigned > &pens, double x, const array_ns::array< double > &y) |
| add multiple pens worth of data in one hit
|
|
void | add (cairo::Surface &surf, const array_ns::array< unsigned > &pens, double x1, const array_ns::array< double > &y1) |
|
void | labelPen (unsigned pen, const string &label) |
|
void | LabelPen (unsigned pen, const cairo::SurfacePtr &label) |
| label a pen with an arbitrary graphic, given by label.
|
|
void | AssignSide (unsigned pen, Side) |
| assign a side to display the scale for pen
|
|
void | assignSide (TCL_args args) |
|
void | clearPenAttributes () |
| remove all pen labels and side associations
|
|
void | plot (TCL_args args) |
| TCL interface.
|
|
void | pack (classdesc::pack_t &p) const |
|
void | unpack (classdesc::pack_t &p) |
|
void | addPt (unsigned pen, double x, double y) |
|
array_ns::array< double > | histogram () |
| return histogram
|
|
array_ns::array< double > | bins () |
|
double | loglikelihood (TCL_args args) |
| return log likelihood ratio of two distributions More...
|
|
void | clear () |
|
double | av () |
| average
|
|
double | median () |
|
double | stddev () |
| standard deviation
|
|
Stats & | operator<<= (float x) |
| append an element to the data
|
|
Stats & | operator<<= (const array_ns::array< float > &x) |
| append an array of elements to the data
|
|
Stats & | operator<<= (const array_ns::array< double > &x) |
| append an array of elements to the data
|
|
void | add_data (TCL_args args) |
| TCL access - append an array of data.
|
|
bool | operator< (const Stats &x) const |
|
| array (size_t s=0) |
|
| array (size_t s, float val) |
|
| array (const array &x) |
|
| array (const expr &e, typename enable_if< is_expression< expr >, void * >::float dummy=0) |
|
void | resize (size_t s) |
| resize array to s elements
|
|
void | resize (size_t s, const V &val) |
| resize array to s elements, and initialise to val
|
|
void | swap (array &x) |
|
float & | operator[] (size_t i) |
|
float | operator[] (size_t i) const |
|
enable_if< is_expression< I >, RVindex< array, I > >::float | operator[] (const I &i) const |
| vector indexing
|
|
enable_if< is_expression< I >, LVindex< array, I > >::float | operator[] (const I &i) |
|
array & | operator= (const array &x) |
|
enable_if< is_expression< expr >, array &>::float | operator= (const expr &x) |
|
enable_if< is_scalar< scalar >, array &>::float | operator= (scalar x) |
| broadcast
|
|
enable_if< is_expression< expr >, array &>::float | operator+= (const expr &x) |
|
enable_if< is_scalar< scalar >, array &>::float | operator+= (scalar x) |
| summing broadcast
|
|
enable_if< is_expression< expr >, array &>::float | operator-= (const expr &x) |
|
enable_if< is_scalar< scalar >, array &>::float | operator-= (scalar x) |
| subtracting broadcast
|
|
enable_if< is_expression< expr >, array &>::float | operator*= (const expr &x) |
|
enable_if< is_scalar< scalar >, array &>::float | operator*= (scalar x) |
| multiplying broadcast
|
|
enable_if< is_expression< expr >, array &>::float | operator/= (const expr &x) |
|
enable_if< is_scalar< scalar >, array &>::float | operator/= (scalar x) |
| dividing broadcast
|
|
enable_if< is_expression< expr >, array &>::float | operator%= (const expr &x) |
|
enable_if< is_scalar< scalar >, array &>::float | operator%= (scalar x) |
| remaindering broadcast
|
|
enable_if< is_expression< expr >, array &>::float | operator&= (const expr &x) |
|
enable_if< is_scalar< scalar >, array &>::float | operator&= (scalar x) |
| bitwise and broadcast
|
|
enable_if< is_expression< expr >, array &>::float | operator|= (const expr &x) |
|
enable_if< is_scalar< scalar >, array &>::float | operator|= (scalar x) |
| bitwise or broadcast
|
|
enable_if< is_expression< E >, array &>::float | operator<<= (const E &x) |
| concatenation
|
|
enable_if< is_scalar< S >, array &>::float | operator<<= (S x) |
|
size_t | size () const |
| number of elements
|
|
float * | data () |
| obtain raw pointer to data
|
|
const float * | data () const |
| obtain raw pointer to data
|
|
iterator | begin (void) |
|
const_iterator | begin (void) const |
|
iterator | end (void) |
|
const_iterator | end (void) const |
|