From c7bc39709805813853de65783339464548f5964f Mon Sep 17 00:00:00 2001 From: l_maliakal_d Date: Fri, 4 Oct 2013 08:58:10 +0000 Subject: [PATCH] changed 1d line color to black git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@242 af1100a4-978c-4157-bff7-07162d2ba061 --- slsDetectorGui/src/qDrawPlot.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/slsDetectorGui/src/qDrawPlot.cpp b/slsDetectorGui/src/qDrawPlot.cpp index 8c4366e6b..1b571e1b3 100644 --- a/slsDetectorGui/src/qDrawPlot.cpp +++ b/slsDetectorGui/src/qDrawPlot.cpp @@ -293,7 +293,7 @@ void qDrawPlot::SetupWidgetWindow(){ plot1D->SetXTitle("X Axis"); plot1D->SetYTitle("Y Axis"); plot1D_hists.append(h=new SlsQtH1D("",histNBins,histXAxis,histYAxis[0])); - h->SetLineColor(1); + h->SetLineColor(0); SetStyle(h); h->Attach(plot1D); Clear1DPlot(); @@ -1253,7 +1253,7 @@ void qDrawPlot::UpdatePlot(){ plot1D_hists.append(h=new SlsQtH1D("",histNBins,histXAngleAxis,histYAngleAxis)); else plot1D_hists.append(h=new SlsQtH1D("",histNBins,histXAxis,GetHistYAxis(hist_num))); - h->SetLineColor(hist_num+1); + h->SetLineColor(hist_num); }else{ h=plot1D_hists.at(hist_num); if(anglePlot) @@ -1706,7 +1706,7 @@ int qDrawPlot::UpdateTrimbitPlot(bool fromDetector,bool Histogram){ plot1D->SetZoomBase(0,0,nPixelsX,plotHistogram->boundingRect().height()); SlsQtH1D* h; plot1D_hists.append(h=new SlsQtH1D("",nPixelsX,histXAxis,histYAxis[0])); - h->SetLineColor(1); + h->SetLineColor(0); histFrameIndexTitle->setText(GetHistTitle(0)); //attach plot h->Attach(plot1D);