Lumiera  0.pre.03
»edit your freedom«
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 50 of file gnuplot-gen-test.cpp.

Private Member Functions

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

Member Function Documentation

◆ simpeUsage()

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

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

◆ 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 95 of file gnuplot-gen-test.cpp.

◆ 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 146 of file gnuplot-gen-test.cpp.

+ Inheritance diagram for GnuplotGen_test:
+ Collaboration diagram for GnuplotGen_test:

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