Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.8.0

Bug #6941 Logarithmic axis values between 0 and 1
Submitted: 2006-02-26 16:38 UTC
From: thilo at hitnet dot rwth-aachen dot de Assigned: nosey
Status: Closed Package: Image_Graph (version cvs)
PHP Version: 4.4.0 OS: Debian Sarge
Roadmaps: (Not assigned)    
Subscription  


 [2006-02-26 16:38 UTC] thilo at hitnet dot rwth-aachen dot de (Thilo)
Description: ------------ Hi, see the script ;-) I have to use X values between 0.063 - 80. Sorry! My english is very bad. I hope the Script is enough. Thilo Test script: --------------- http://barbara.fs5-1.rwth-aachen.de/testseite/line2.php ... $Plotarea = Image_Graph::factory('plotarea', array('axis_log','axis')) ... //Points $Dataset =& Image_Graph::factory('dataset'); Dataset->addPoint(0.063,5); Dataset->addPoint(0.125,7); Dataset->addPoint(0.25,8); $Dataset->addPoint(0.5,10); $Dataset->addPoint(1,15); $Dataset->addPoint(2,30); $Dataset->addPoint(4,45); $Dataset->addPoint(8,80); ...

Comments

 [2006-02-28 22:15 UTC] nosey
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.
 [2006-03-05 21:04 UTC] thilo at hitnet dot rwth-aachen dot de
Hi, thanks for your work but that is not which I needs. I need the values between 0 and 1 Please take al look at http://barbara.fs5-1.rwth-aachen.de/testseite/mittelwert_diagramm.php and http://barbara.fs5-1.rwth-aachen.de/testseite/mittelwert_diagramm2.php thanks Thilo
 [2006-03-05 21:22 UTC] nosey
This _is_ solved by using the new forceMinimum() method. You simply use (fx) $Axis->forceMinimum(0.050) this yields http://pear.veggerby.dk/dump/log_axis_low.png If you mean something else, then please elaborate, cause then I'm missing your point
 [2006-03-05 21:38 UTC] thilo at hitnet dot rwth-aachen dot de
OK thanks great work Thilo