I "might" have been unclear, I realize that now.
What I meant was:
I did not want to include the code from my own program since it will
required a lot of work to make it compile (its a large program with many
And the problem does not seem to be related to my own code since I also
got it in the sinsuplot example i mentioned.
I did, however, change the example code slightly so that a smaller
amplitude curve were shown.
I do not think that there is a problem in the example, it might be
something "behind the scenes" in Qwt 6.1
My modified sinusplot.cpp example code from Qwt 6.1 was also included in
that dropbox link that I included in the original message.
I should have appended the code to the email instead and only put the
pictures in the dropbox.
I will try this on Qwt 6.0.1 and see if the problem was there as well.
On 2013-08-28 16:39, Hendrik Vennekate wrote:
> Oh, and here is the code ;) taken from the examples of 6.0.1, but there is no
> difference that would explain what you described from the examples in 6.1.0.
> On Wednesday, August 28, 2013 13:10:44 Peter Nordin wrote:
>> I am having problems showing small values on the x and y axis labels in
>> Qwt plots.
>> Whenever the absolute value goes below 1.0e-12 the value text on the
>> axis will show 0.
>> I tried to debug Qwt while plotting, but so many functions were called
>> that I quickly got lost.
>> But I think that the values associated with each "tick" on the axis are
>> calculated correctly. It is the text label that does not turn out right.
>> To take my own code out of the picture, I modified the sinusplot Qwt
>> example to show only one sinus wave and tested a few different amplitudes.
>> Screenshots showing my problem and my modified example code can be found
>> in the following public shared dropbox folder.
>> (the amplitud is set at line 23-29 in the code)
>> The plot looks OK in the case where the amplitude is 5.0e-12 but for any
>> amplitude smaller (screenshots for 4.0e-12, 3.0e-12, 2.0e-12, 1.5e-12
>> and 1.0e-12), 0 is shown in multiple places on the y-axis.
>> I am using Qwt-6.1 together with Qt-4.8.5 on Windows 7 and KUbuntu 12.04
>> Any assistance is appreciated
>> And thanks for a great lib
>> Best regards
>> Peter Nordin
>> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
>> Discover the easy way to master current and previous Microsoft technologies
>> and advance your career. Get an incredible 1,500+ hours of step-by-step
>> tutorial videos with LearnDevNow. Subscribe today and save!
>> qwt-interest mailing list