Strange logarithmic scaling problem on polar plot
Posted: Tue Feb 12, 2008 8:01 am
I have a polar plot, which can show either square meter or dB over 1 sqr m.
The later uses log10 scale!
When I change the scale in dB mode (plot is, of course, using linear scales) everything works fine.
If I have set the boundaries to 0 and 5 (dB) my curve says 3.9 dB.
Changing the lower boundary still keeps the curve at 3.9.
Switching to log mode (converting data to sqr m) the scale goes from 1 to 3.16 sqr m. But the curve is now equivalent to 4.6 dB! (no propper scale or grid is available in log mode, unfortunately )
Changing the lower boundary to 2 sqr m moves the curve down to 3.2 db.
(and might actually be inverted!)
The data is correctly converted back and forth (db <-> sqr m), but plotting seems to have a problem.
If the lower boundary is set too high, the plot will be 'inverted'. Data being plotted somewhere 180 deg. rotated. The scalcurve is rather steep on that side!
Not so in dB mode. The curve just simply disappears.
Auto scaling does find the propper values, but they are no good, if the plot itself does not work.
I am using v. 7.12, which I believe is the latest we got license for.
I am using Delphi 6 with all updates.
The later uses log10 scale!
When I change the scale in dB mode (plot is, of course, using linear scales) everything works fine.
If I have set the boundaries to 0 and 5 (dB) my curve says 3.9 dB.
Changing the lower boundary still keeps the curve at 3.9.
Switching to log mode (converting data to sqr m) the scale goes from 1 to 3.16 sqr m. But the curve is now equivalent to 4.6 dB! (no propper scale or grid is available in log mode, unfortunately )
Changing the lower boundary to 2 sqr m moves the curve down to 3.2 db.
(and might actually be inverted!)
The data is correctly converted back and forth (db <-> sqr m), but plotting seems to have a problem.
If the lower boundary is set too high, the plot will be 'inverted'. Data being plotted somewhere 180 deg. rotated. The scalcurve is rather steep on that side!
Not so in dB mode. The curve just simply disappears.
Auto scaling does find the propper values, but they are no good, if the plot itself does not work.
I am using v. 7.12, which I believe is the latest we got license for.
I am using Delphi 6 with all updates.