Mercurial > hg > fxanalyse
diff Plot.c @ 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 | be87c8e78266 |
children |
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);