Hello
This patch gives nice log-plots even if data is very dynamic (e.g. 
1.0e-9 to 1.0e+3).

There is a working version for 1.0.40. This patch is not working. There 
seem to be changes in ytr() since 1.0.40.

In 1.0.40patched the y value for the draw funtion is:

         value = yloglab[mid][flab] * pow(10.0, val_exp);
         polyPoints[0].y = ytr(im, value);

in this patch:

         value = yloglab[mid][flab] * pow(10.0, val_exp);
         Y0 = ytr(im, value / yloglab[mid][flab]);

but the lines where placed only on even positions (1e-5 with a plot 
range from 1e-6 to 2e-5). Is there some rounding in ytr().

with
         Y0 = ytr(im, value);

no gridlines get plotted....


Regards,

Beat

-- 
Beat ZAHND
Physics Institute
University of Bern                   phone  +41 31 631 3466
Sidlerstrasse 5                      fax    +41 31 631 4405
CH-3012 Bern (Switzerland)  mailto:[EMAIL PROTECTED]

        http://www.phim.unibe.ch/rosina/rosina.html
                 http://rosetta.esa.int/


-- Attached file removed by Ecartis and put at URL below --
-- Type: text/plain
-- Size: 8k (9044 bytes)
-- URL : http://www.ee.ethz.ch/~slist/p/rrd.diff


--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to