Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
GnuplotGen_test Class Reference

Description

Test:
verify data visualisation by generated Gnuplot scripts
  • generate a simple pot
  • generate a scatter plot with regression line
See also
gnuplot-gen.hpp
TextTemplate_test

Definition at line 41 of file gnuplot-gen-test.cpp.

Private Member Functions

virtual void run (Arg)
 
void simpeUsage ()
 
void plot_scatter_regression ()
 
void verify_customisation ()
 

Member Function Documentation

◆ run()

virtual void run ( Arg  )
inlineprivatevirtual

Definition at line 45 of file gnuplot-gen-test.cpp.

References GnuplotGen_test::plot_scatter_regression(), GnuplotGen_test::simpeUsage(), and GnuplotGen_test::verify_customisation().

+ Here is the call graph for this function:

◆ simpeUsage()

void simpeUsage ( )
inlineprivate
Test:
Create simple (x,y) data point visualisation

Definition at line 55 of file gnuplot-gen-test.cpp.

References lib::gnuplot_gen::dataPlot().

Referenced by GnuplotGen_test::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ plot_scatter_regression()

void plot_scatter_regression ( )
inlineprivate
Test:
Create a (x,y) scatter plot with regression line
  • in the simple case, there is only one diagram
  • use the stats command to let Gnuplot calculate the linear regression
  • draw a regression line as function representing the regression model

Definition at line 86 of file gnuplot-gen-test.cpp.

References lib::gnuplot_gen::scatterRegression().

Referenced by GnuplotGen_test::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ verify_customisation()

void verify_customisation ( )
inlineprivate
Test:
various customisations through additional parameters
  • a custom defined regression line
  • use a specific output »term« and specify canvas size
  • define the common horizontal data range and x-tic spacing
  • define display ranges for 3 different Y-axis
  • define custom labels for all axes
Note
when using additional parameters, csv data must also be given explicitly as KEY_CSVData

Definition at line 137 of file gnuplot-gen-test.cpp.

Referenced by GnuplotGen_test::run().

+ Here is the caller graph for this function:
+ Inheritance diagram for GnuplotGen_test:
+ Collaboration diagram for GnuplotGen_test:

The documentation for this class was generated from the following file: