Thank you very much for your response.
Op 31-7-2013 20:26, Uwe Rathmann schreef:
> On 07/31/2013 10:20 AM, André Somers wrote:
>> However, now we need to become a bit more flexible with the scales.
>> Instead of using a relatively simply linear scales, we need to support
>> non-linear scales. These scales have bigger step sizes at the edges, and
>> smaller step sizes near the middle of the scale in a pre-defined
> Have a look at playground/scaleengine. It shows several non linear scale
> transformations ( click on the legend items ). F.e in mainwindow.cpp you
> find a custom transformation ( TransformPos ) that has increasing step
> sizes around a specific position ( here "At 400" ) for a region of interest.
> But in the end you can implement any type of irregular transformation by
> overloading the following methods of QwtTransform:
> - transform()
> - invTransform()
> - copy()
Yeah, I found these only after sending off the email to the list. We
were still on 6.0.2, but I upgraded to 6.1.0 because exactly these
classes looked promissing. Thanks for the confirmation that this is
indeed easier done in 6.1 than in 6.0, it will help strenghten my case
>> That allows you to see more details around the central values
>> of the range, while the extremes are still visible. We'd like to have
>> each color have the same size on the axis color bar.
> Not sure about this question as the "axis color bar" shows the color map
> and is usually not used for plot coordinates.
I wasn't planning to put plot coordinates there, sorry for not being
What I am after is exactly what you describe below.
> But when you have a color map with intervals with different step sizes
> and you want to have a scale with equidistant ( in pixels ) ticks at the
> borders of the intervals you have also have to derive from QwtTransform.
> Of course you need Qwt 6.1, where QwtTransform has been introduced for
> use case like yours.
I'll get on it, after looking at the examples you mentioned. Thanks again!
You like Qt?
I am looking for collegues to join me at i-Optics!