Lumiera  0.pre.03
»edit your freedom«
lib::gnuplot_gen::anonymous_namespace{gnuplot-gen.cpp} Namespace Reference

Variables

const string GNUPLOT_AxisGridSetup
 
const string GNUPLOT_BASIC_PLOT_DEF
 
const string GNUPLOT_CommonStyleDef
 
const string GNUPLOT_SCATTER_REGRESSION
 
const string GNUPLOT_SIMPLE_DATA_PLOT
 

Variable Documentation

◆ GNUPLOT_CommonStyleDef

const string GNUPLOT_CommonStyleDef
Initial value:
= R"~(#
#---common-styles-for-plots-from-Lumiera---------
set style line 1 linetype 1 linewidth 2 linecolor rgb '#240CC3'
set style line 2 linetype 3 linewidth 2 linecolor rgb '#1149D6'
set style line 3 linetype 2 linewidth 2 linecolor rgb '#0B7FCC'
set style line 4 linetype 6 linewidth 2 linecolor rgb '#37999D'
set style line 5 linetype 7 linewidth 2 linecolor rgb '#248269'
set style line 6 linetype 13 linewidth 2 linecolor rgb '#00C443'
set style line 7 linetype 12 linewidth 2 linecolor rgb '#EBE83E'
set style line 8 linetype 5 linewidth 2 linecolor rgb '#762C14'
set style line 9 linetype 4 linewidth 2 linecolor rgb '#AA0519'
set style line 10 linetype 1 linewidth 1 linecolor rgb '#303030'
set style line 11 linetype 0 linewidth 1 linecolor rgb '#A0A0A0' dashtype 3
#---(End)styles----------------------------------
)~"

Definition at line 79 of file gnuplot-gen.cpp.

◆ GNUPLOT_AxisGridSetup

const string GNUPLOT_AxisGridSetup
Initial value:
= R"~(#
#---axis-and-grid-setup--------------------------
unset border
set tics nomirror
set grid back linestyle 11
set arrow 10 from graph 0,0 to graph 1.04,0 size screen 0.025,15,60 filled ls 10
set arrow 11 from graph 0,0 to graph 0,1.08 size screen 0.025,15,60 filled ls 10
)~"

Definition at line 96 of file gnuplot-gen.cpp.

◆ GNUPLOT_BASIC_PLOT_DEF

const string GNUPLOT_BASIC_PLOT_DEF
Initial value:
= R"~(#
#
# GNUPLOT - data plot from Lumiera
#
${if Term
}set term ${Term} ${
if TermSize}size ${TermSize}${endif}
${else}${if TermSize
}set term wxt size ${TermSize}
${endif}${endif Term}
set datafile separator ",;"
####---------Data--------------------------------
$RunData << _End_of_Data_
${CSVData}
_End_of_Data_
${CommonStyleDef}
${AxisGridSetup}
${if Xlabel
}set xlabel '${Xlabel}'
${else
}stats $RunData using (abscissaName=strcol(1)) every ::0::0 nooutput
set xlabel abscissaName
${end if Xlabel
}${if Ylabel
}set ylabel '${Ylabel}' ${end if Ylabel
}
${if Xrange}
set xrange [${Xrange}] ${endif
}${if Yrange}
set yrange [${Yrange}] ${endif
}set key autotitle columnheader tmargin
)~"

Definition at line 107 of file gnuplot-gen.cpp.

◆ GNUPLOT_SIMPLE_DATA_PLOT

const string GNUPLOT_SIMPLE_DATA_PLOT
Initial value:
= R"~(#
####---------------------------------------------
plot for [i=2:*] $RunData using 1:i with ${DiagramKind} linestyle i-1
)~"

Definition at line 148 of file gnuplot-gen.cpp.