v2.0.0
Loading...
Searching...
No Matches
bar.h File Reference

QPainter-based bar / histogram widget for Eigen class-limit + frequency vectors. More...

#include "../disp_global.h"
#include <QWidget>
#include <QStringList>
#include <Eigen/Core>
Include dependency graph for bar.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DISPLIB::Bar
 Bar chart / histogram QWidget rendering Eigen class-limit + frequency vectors with QPainter. More...

Namespaces

namespace  DISPLIB
 2-D display widgets and visualisation helpers (charts, topography, colour maps).

Detailed Description

QPainter-based bar / histogram widget for Eigen class-limit + frequency vectors.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2018-2026 MNE-CPP Authors

Author
Lorenz Esch loren.nosp@m.z.es.nosp@m.ch@tu.nosp@m.-ilm.nosp@m.enau..nosp@m.de; Juan GPC jgarc.nosp@m.iapr.nosp@m.ieto@.nosp@m.mgh..nosp@m.harva.nosp@m.rd.e.nosp@m.du; Andreas Griesshammer ag@fi.nosp@m.eldl.nosp@m.inein.nosp@m.c.co.nosp@m.m; Gabriel Motta gabri.nosp@m.elbe.nosp@m.nmott.nosp@m.a@gm.nosp@m.ail.c.nosp@m.om; Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
0.1.0
Date
July 2018

Bar renders a MATLAB-style bar() chart in pure QPainter into a QWidget canvas. The data interface is templated on the value type and accepts class limits and per-bin counts as Eigen column or row vectors, together with a precision hint controlling how many significant digits of the limit values are printed below each bin. It is used by histogram-oriented dialogs (e.g. evoked amplitude or noise distributions) where a lightweight, dependency-free histogram is sufficient.

Definition in file bar.h.