change plot and axis background color
Hi,
i couldnt find any hints on how to change the basic layout of the qwt plot. All i want is to change the axis and plot background to a different color and remove the frame border between the axis and the plot.
as far as i understood it i have to change a QwtPlotPrintFilter object.
i tried it with this in the constructor method of my plot class:
Code:
filter.apply(this);
this->replot();
but this doesnt work... maybe someone could help me out here.
thx!
lutz
Re: change plot and axis background color
Have you try this method to change the plot background?
plot->setCanvasBackground(QColor(29, 100, 141)); // nice blue
Re: change plot and axis background color
thanks. that works for the background. but how can i change the axis background and remove that little border-frame?