Function cpphots::plot_multiple_ts
Defined in File plots.h
Function Documentation
-
void cpphots::plot_multiple_ts(const std::vector<TimeSurfaceType> &mts, unsigned int rows = 0, unsigned int cols = 0, bool colorcode = true)
Plot multiple time surfaces into a single figure.
This functions accepts both one and two-dimensional time surfaces. The arrangement of plots, in terms of rows and columns, can be optionally specified. If no arrangment is specified, a best-effort arrangement that tries to minimize the number of empty subslots is performed.
- Parameters
mts – the time surfaces to be plotted
rows – the number of rows for the arrangement
cols – the number of columns for the arrangement
colorcode – whether a different color should be used for each time surface or not