View Full Version : how to display only certain scale markings in Qwt Plot

12th June 2012, 11:53
I want to plot a histogram against a linear scale of 0-32. So the scale divisons need to be equispaced. This is achievable.
But of all the scale markings I want to display only these: 2,5, 10, 20, 30 on the histogram plot. No pattern here. I want to display these specific markings of the scale.
How can I implement this. Please provide some pointers.7855

The attached image is a rough representation of the required implementation.