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

Simple x/y line-series widget drawn with QPainter. More...

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

Go to the source code of this file.

Classes

class  DISPLIB::LinePlot
 Simple x / y line-series QWidget rendered with QPainter (no Qt Charts dependency). More...

Namespaces

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

Detailed Description

Simple x/y line-series widget drawn with QPainter.

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

LinePlot accepts one or several QVector<double> y-series (with an optional matching x-series) and renders them as connected polylines with auto-scaled axes, a title and x/y labels. It is intentionally lightweight (no Qt Charts / OpenGL dependency) and is the fallback plotting primitive used by HPI / coregistration dialogs and by diagnostic test apps that just need a small embedded line chart.

Definition in file lineplot.h.