changeset 218:a3494d2806ee

Change plot lines color to red
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Fri, 02 May 2014 16:32:50 +0200
parents fefe921a9784
children ddc8c47db3df
files Plot.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Plot.c	Tue Apr 15 13:35:07 2014 +0200
+++ b/Plot.c	Fri May 02 16:32:50 2014 +0200
@@ -5,6 +5,8 @@
 #include "FXPlot.h"
 #include "Plot.h"
 
+#define PLOT_LINE_COLOR VAL_RED 
+
 void Plot_InitPanel(Plot_Data *Instance, const char *title, double ymin, double ymax, int parent, int control)
 {
 	if ((Instance->PlotPanel = LoadPanel (0, "FXPlot.uir", PLOTPANEL)) < 0)
@@ -91,7 +93,7 @@
 	
 	DeleteGraphPlot(Instance->PlotPanel, PLOTPANEL_FREQPLOT, -1, VAL_IMMEDIATE_DRAW);
 	PlotY(Instance->PlotPanel, PLOTPANEL_FREQPLOT, Instance->Frequencies, Instance->IndexPoint,
-		VAL_DOUBLE, VAL_THIN_LINE, VAL_EMPTY_SQUARE, VAL_SOLID, 1, VAL_BLUE);
+		VAL_DOUBLE, VAL_THIN_LINE, VAL_EMPTY_SQUARE, VAL_SOLID, 1, PLOT_LINE_COLOR);
 	
 	int autoscale;
 	GetCtrlVal(Instance->PlotPanel, PLOTPANEL_CHECKBOX_AUTOSCALE, &autoscale);