Hello Uwe! Thanks for the reply!
Now what you sad is what I was looking for - but it didn't work =T Or at least no properly...
Regarding the color, I'm being unable to change it neither by setting the scale widget's palette, nor by the general QwtPlot::setPalette(). The graph remains as it is. Any suggestions?
Concerning the font tick labels, the suggested code
QFont font
= harmonicsGraph
->axisWidget
(QwtPlot::yLeft)->font
();
font.setPointSize(50);
harmonicsGraph
->axisWidget
(QwtPlot::yLeft)->setFont
(font
);
QFont font = harmonicsGraph->axisWidget(QwtPlot::yLeft)->font();
font.setPointSize(50);
harmonicsGraph->axisWidget(QwtPlot::yLeft)->setFont(font);
To copy to clipboard, switch view to plain text mode
doesn't work in the plot's constructor, only when the showEvent() is called (actually it doesn't work neither in the plot's constructor, nor in its parent's constructor, but in its parent's showEvent()). Was that supposed to happen? And, of course, the general setPalette doesn't work when inside the showEvent() and axis specific setPalette makes the axis dissapear =T.
Any suggestions on what may be happening of wrong?
Added after 1 7 minutes:
BTW, how to change the font and color size for QwtPolarPlot? I noticed that axisWidget() doesn't exist for that class.
Bookmarks