bigjoeystud
18th September 2012, 20:11
I have three questions regarding the QwtScaleDraw:
1) Is there a way to label a minor tick?
2) Is there a way to get the current step size from QwtScaleDraw?
3) When I set the step size of the scale engine to something large, my plot is significantly larger than if I go by the defaults. I reason that this is due to the the Qwt plot canvas size being determined by how large the scale is. Is that right? How do I make it keep the usual size it calculates with the defaults, but still have a different number of labels?
I am overriding the QwtScaleDraw with my own stuff, but I am using the standard QwtScaleWidget.
Thanks,
Joey
1) Is there a way to label a minor tick?
2) Is there a way to get the current step size from QwtScaleDraw?
3) When I set the step size of the scale engine to something large, my plot is significantly larger than if I go by the defaults. I reason that this is due to the the Qwt plot canvas size being determined by how large the scale is. Is that right? How do I make it keep the usual size it calculates with the defaults, but still have a different number of labels?
I am overriding the QwtScaleDraw with my own stuff, but I am using the standard QwtScaleWidget.
Thanks,
Joey