openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
|
Ascii matrix graph plotter. More...
#include <asciiPlotter.hpp>
Public Member Functions | |
matrixgraph_plotter () | |
empty constructor More... | |
matrixgraph_plotter (const unsigned int rows, const unsigned int cols) | |
Constructor specifying the canvas size. More... | |
void | reset () |
Clear the canvas. More... | |
void | setSize (const unsigned int rows, const unsigned int cols) |
Set new size and clear the canvas. More... | |
void | print (const VEC &cnt, const VEC &col, char s) |
Print a matrix graph to stdout. More... | |
Ascii matrix graph plotter.
VEC | vector class that offers a basic std::vector-like API. |
Definition at line 365 of file asciiPlotter.hpp.
|
inline |
empty constructor
Definition at line 400 of file asciiPlotter.hpp.
|
inline |
Constructor specifying the canvas size.
rows | Number of rows |
cols | Number of cols |
Definition at line 409 of file asciiPlotter.hpp.
|
inline |
Print a matrix graph to stdout.
cnt | Row counts of the matrix graph |
col | Column indices of the matrix graph |
s | Character used for drawing. |
Definition at line 447 of file asciiPlotter.hpp.
|
inline |
Clear the canvas.
Definition at line 417 of file asciiPlotter.hpp.
|
inline |
Set new size and clear the canvas.
rows | Number of rows |
cols | Number of cols |
Definition at line 431 of file asciiPlotter.hpp.