Skip to content

Commit 92c122c

Browse files
committed
Remove setTickStepStrategy in S1/S2 and Phase Function Linear plots
1 parent 9306f33 commit 92c122c

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/plotdata.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ void PlotData::InitializePhaseFunctionLinearPlot(Ui_MainWindow *ui)
6969
{
7070
ui->customPlot_PhaseFunctionLinear->xAxis->setLabel("Angle (deg.)");
7171
ui->customPlot_PhaseFunctionLinear->xAxis->setRange(-180,180);
72-
ui->customPlot_PhaseFunctionLinear->xAxis->ticker()->setTickStepStrategy(QCPAxisTicker::TickStepStrategy::tssMeetTickCount);
7372
QVector<double> ticks;
7473
QVector<QString> labels;
7574
ticks << -180 << -135 << -90 << -45 << 0 << 45 << 90 << 135 << 180;
@@ -95,7 +94,6 @@ void PlotData::InitializeAllOtherPlots(Ui_MainWindow *ui)
9594
//Plot S1S2
9695
ui->customPlot_S1S2->xAxis->setLabel("Angle (deg.)");
9796
ui->customPlot_S1S2->xAxis->setRange(0,180);
98-
ui->customPlot_S1S2->xAxis->ticker()->setTickStepStrategy(QCPAxisTicker::TickStepStrategy::tssMeetTickCount);
9997
QVector<double> ticks;
10098
QVector<QString> labels;
10199
ticks << 0 << 45 << 90 << 135 << 180;

0 commit comments

Comments
 (0)