Hi,

I'm fairly new to plplot (coming from pgplot) and I'm liking it more and 
more! : ) I've encountered something very basic which I can't seem to 
find an answer for: is it possible to change the background for plots 
made with the extqt device? I cannot get it to change by calling either 
plscol0(0, ...); or plscolbg, it remains black. Manually changing the code:

painter->fillRect(0, 0, width(), height(), QBrush(Qt::white));
painter->fillRect(0, 0, width(), height(), QBrush(Qt::gray, 
Qt::Dense4Pattern));
painter->fillRect((int)x_offset, (int)y_offset, 
(int)floor(x_fact*m_dWidth+0.5),(int)floor(y_fact*m_dHeight+0.5), 
QBrush(Qt::black));

(qt.cpp) doesn't feel right : )

kind regards,

Sander

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to