mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-06 04:40:02 +02:00
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
This commit is contained in:
parent
4c662270cd
commit
c7bc397098
@ -293,7 +293,7 @@ void qDrawPlot::SetupWidgetWindow(){
|
|||||||
plot1D->SetXTitle("X Axis");
|
plot1D->SetXTitle("X Axis");
|
||||||
plot1D->SetYTitle("Y Axis");
|
plot1D->SetYTitle("Y Axis");
|
||||||
plot1D_hists.append(h=new SlsQtH1D("",histNBins,histXAxis,histYAxis[0]));
|
plot1D_hists.append(h=new SlsQtH1D("",histNBins,histXAxis,histYAxis[0]));
|
||||||
h->SetLineColor(1);
|
h->SetLineColor(0);
|
||||||
SetStyle(h);
|
SetStyle(h);
|
||||||
h->Attach(plot1D);
|
h->Attach(plot1D);
|
||||||
Clear1DPlot();
|
Clear1DPlot();
|
||||||
@ -1253,7 +1253,7 @@ void qDrawPlot::UpdatePlot(){
|
|||||||
plot1D_hists.append(h=new SlsQtH1D("",histNBins,histXAngleAxis,histYAngleAxis));
|
plot1D_hists.append(h=new SlsQtH1D("",histNBins,histXAngleAxis,histYAngleAxis));
|
||||||
else
|
else
|
||||||
plot1D_hists.append(h=new SlsQtH1D("",histNBins,histXAxis,GetHistYAxis(hist_num)));
|
plot1D_hists.append(h=new SlsQtH1D("",histNBins,histXAxis,GetHistYAxis(hist_num)));
|
||||||
h->SetLineColor(hist_num+1);
|
h->SetLineColor(hist_num);
|
||||||
}else{
|
}else{
|
||||||
h=plot1D_hists.at(hist_num);
|
h=plot1D_hists.at(hist_num);
|
||||||
if(anglePlot)
|
if(anglePlot)
|
||||||
@ -1706,7 +1706,7 @@ int qDrawPlot::UpdateTrimbitPlot(bool fromDetector,bool Histogram){
|
|||||||
plot1D->SetZoomBase(0,0,nPixelsX,plotHistogram->boundingRect().height());
|
plot1D->SetZoomBase(0,0,nPixelsX,plotHistogram->boundingRect().height());
|
||||||
SlsQtH1D* h;
|
SlsQtH1D* h;
|
||||||
plot1D_hists.append(h=new SlsQtH1D("",nPixelsX,histXAxis,histYAxis[0]));
|
plot1D_hists.append(h=new SlsQtH1D("",nPixelsX,histXAxis,histYAxis[0]));
|
||||||
h->SetLineColor(1);
|
h->SetLineColor(0);
|
||||||
histFrameIndexTitle->setText(GetHistTitle(0));
|
histFrameIndexTitle->setText(GetHistTitle(0));
|
||||||
//attach plot
|
//attach plot
|
||||||
h->Attach(plot1D);
|
h->Attach(plot1D);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user