+
+/*
+ * Write the analysis-specific graph lines in the gnuplot script.
+ *
+ * Args:
+ * syncState: container for synchronization data
+ * i: first trace number, on the x axis
+ * j: second trace number, garanteed to be larger than i
+ */
+void writeAnalysisGraphsPlotsLinReg(SyncState* const syncState, const unsigned
+ int i, const unsigned int j)
+{
+ AnalysisDataLinReg* analysisData;
+ Fit* fit;
+
+ analysisData= (AnalysisDataLinReg*) syncState->analysisData;
+ fit= &analysisData->fitArray[j][i];
+
+ fprintf(syncState->graphsStream,
+ "\t%7g + %7g * x "
+ "title \"Linreg conversion\" with lines "
+ "linecolor rgb \"gray60\" linetype 1, \\\n",
+ fit->d0, 1. + fit->x);
+}