Printable View
I tried to set an extra Title on the right side: Code: qwtPlot->setAxisTitle(QwtPlot::yLeft, "Gain"); qwtPlot->setAxisTitle(QwtPlot::yRight, "Energy"); I can see however only the axis title on the left side. Is this code wrong ? Matthias
qwtPlot->setAxisTitle(QwtPlot::yLeft, "Gain"); qwtPlot->setAxisTitle(QwtPlot::yRight, "Energy");
You also have to enable the axis to the right: Code: plot->enableAxis(QwtPlot::yRight); HTH, Uwe
plot->enableAxis(QwtPlot::yRight);