Re: How to hide axis labels
Code:
plot->axisScaleDraw( ... )->enableComponent(
Uwe
Re: How to hide axis labels
Thank you so much Uwe!
p.s. I should have mentioned that I am using PyQt4.Qwt5. Just for reference, the actual python code I ended up using, based on Uwe's help is
Code:
import PyQt4.Qwt5 as Qwt
...
def create_plot(self):
...
plot.
axisScaleDraw(Qwt.
QwtPlot.
xBottom).
enableComponent( \
Re: How to hide axis labels
I'm currently trying to do the same thing with Qwt in Qt (using C++), but I'm having issues. My error says "invalid use of incomplete type 'struct QwtScaleDraw'".
How can I fix this error?
Thanks!
Chris
Re: How to hide axis labels
have you included the header file?
Re: How to hide axis labels
FelixB,
That fixed it! Wow.... That was my bad for forgetting to do that, but thanks for catching it!
Chris