JKQTPlotter trunk/v5.0.0
an extensive Qt5+Qt6 Plotter framework (including a feature-richt plotter widget, a speed-optimized, but limited variant and a LaTeX equation renderer!), written fully in C/C++ and without external dependencies
Loading...
Searching...
No Matches
Collaboration diagram for Function Graphs:

Classes

class  JKQTPEvaluatedFunctionGraphBase
 Base class for graph classes that evaluate a mathematical function (e.g. defined as a C-function), using an adaptive plotting algorithm from JKQTPAdaptiveFunctionGraphEvaluator. More...
 
class  JKQTPEvaluatedFunctionWithErrorsGraphBase
 extends JKQTPEvaluatedFunctionGraphBase with some basic properties (e.g. function parameters) for a second function that calculates an error (for drawing error indicators) More...
 
class  JKQTPEvaluatedFunctionWithErrorsGraphDrawingBase
 This class extends JKQTPEvaluatedFunctionWithErrorsGraphBase with functions to draw the graphs and set the drawing style. More...
 
class  JKQTPFunctorLineGraphBase
 extends JKQTPEvaluatedFunctionWithErrorsGraphDrawingBase with the capabilities to define functions from C++-functors of type jkqtpSimplePlotFunctionType or jkqtpPlotFunctionType More...
 
class  JKQTPParsedFunctionLineGraphBase
 extends JKQTPEvaluatedFunctionWithErrorsGraphDrawingBase with the capabilities to define functions from strings that are parsed by JKQTPMathParser More...
 
class  JKQTPXFunctionLineGraph
 This implements line plots where the data is taken from a user supplied function $ y=f(x) $. More...
 
class  JKQTPXParsedFunctionLineGraph
 This implements line plots where the data is taken from a user supplied function $ y=f(x) $ The function is defined as a string and parsed by JKMathParser. More...
 
class  JKQTPXYFunctionLineGraph
 This implements line plots where the data is taken from a user supplied function $ [x,y]=f(t) $ The function is evaluated on a user-specified range $ t \in \left[t_\text{min}, t_\text{max}\right] $. More...
 
class  JKQTPXYFunctionLineGraphBase
 Base class for line plots where the data is taken from a user supplied function $ [x,y]=f(t) $ The function is evaluated on a user-specified range $ t \in \left[t_\text{min}, t_\text{max}\right] $. More...
 
class  JKQTPYFunctionLineGraph
 This implements line plots where the data is taken from a user supplied function $ x=f(y) $. More...
 
class  JKQTPYParsedFunctionLineGraph
 This implements line plots where the data is taken from a user supplied function $ x=f(y) $ The function is defined as a string and parsed by JKMathParser. More...
 
struct  JKQTPParsedFunctionLineGraphBase::ParsedFunctionLineGraphFunctionData
 INTERNAL data structure combining a JKQTPMathParser and a JKQTPMathParser::jkmpNode. More...
 
struct  JKQTPEvaluatedFunctionGraphBase::PlotFunctorSpec
 specifies an internal plot functor More...
 

Typedefs

typedef std::function< QPointF(double, const QVector< double >)> jkqtpParametricCurveFunctionType
 type of functions that may be plotted by JKQTPXYFunctionLineGraph
 
typedef std::function< double(double, const QVector< double > &)> jkqtpPlotFunctionType
 type of functions that may be plotted by JKQTPXFunctionLineGraph and JKQTPYFunctionLineGraph
 
typedef std::function< QPointF(double)> jkqtpSimpleParametricCurveFunctionType
 simplified type of functions (without parameters) that may be plotted by JKQTPXYFunctionLineGraph
 
typedef std::function< double(double)> jkqtpSimplePlotFunctionType
 simplified type of functions (without parameters) that may be plotted by JKQTPXFunctionLineGraph and JKQTPYFunctionLineGraph
 

Detailed Description

Screenshot Classes
JKQTPXFunctionLineGraph, JKQTPYFunctionLineGraph
JKQTPXParsedFunctionLineGraph, JKQTPYParsedFunctionLineGraph
JKQTPXYFunctionLineGraph

Typedef Documentation

◆ jkqtpParametricCurveFunctionType

typedef std::function<QPointF(double, const QVector<double>)> jkqtpParametricCurveFunctionType

type of functions that may be plotted by JKQTPXYFunctionLineGraph

This is the type of functions $ [x,y]=f(t, \vec{p}) $ that may be plottet by JKQTPXYFunctionLineGraph. It is possible to supply parameters $ \vec{p} $ to the function that influence its result. Parameters are given as a pointer to some memory location. The function has to know on its own how to interpret these.

◆ jkqtpPlotFunctionType

typedef std::function<double(double, const QVector<double>&)> jkqtpPlotFunctionType

type of functions that may be plotted by JKQTPXFunctionLineGraph and JKQTPYFunctionLineGraph

This is the type of functions $ y=f(x, \vec{p}) $ that may be plottet by JKQTPXFunctionLineGraph and JKQTPYFunctionLineGraph. It is possible to supply parameters $ \vec{p} $ to the function that influence its result. Parameters are given as a pointer to some memory location. The function has to know on its own how to interpret these.

◆ jkqtpSimpleParametricCurveFunctionType

typedef std::function<QPointF(double)> jkqtpSimpleParametricCurveFunctionType

simplified type of functions (without parameters) that may be plotted by JKQTPXYFunctionLineGraph

This is the type of functions $ [x,y]=f(t) $ that may be plottet by JKQTPXYFunctionLineGraph and JKQTPYFunctionLineGraph.

◆ jkqtpSimplePlotFunctionType

typedef std::function<double(double)> jkqtpSimplePlotFunctionType

simplified type of functions (without parameters) that may be plotted by JKQTPXFunctionLineGraph and JKQTPYFunctionLineGraph

This is the type of functions $ y=f(x) $ that may be plottet by JKQTPXFunctionLineGraph and JKQTPYFunctionLineGraph.