Login   Register  
PHP Classes
elePHPant
Icontem

Plot 2D Functions: Render equation values in an graph image

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-10-02 (2 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 229 This week: 1All time: 7,010 This week: 1,521Up
Version License PHP version Categories  
plot-2d-functions 1.0GNU General Public Lice...5.0PHP 5, Graphics, Math
Description Author  

This class can render equations values in an graph image.

There is a base class that can render several types of graphic primitives on an image.

Then there is the main class that can evaluate the given function by assigning successive values of the X axis with a given interval and render lines that link each point of the graph setting the Y axis value to the result of the evaluated function.

Picture of Daniel Vasic
Name: Daniel Vasic <contact>
Classes: 4 packages by
Country: Bosnia and Herzegovina Bosnia and Herzegovina
Age: 24
All time rank: 4992 in Bosnia and Herzegovina Bosnia and Herzegovina
Week rank: 130 Up3 in Bosnia and Herzegovina Bosnia and Herzegovina Down

Screenshots  
  • cosx.png
  Files folder image Files  
File Role Description
Plain text file class.graphEq.php Class Class file for drawing function
Plain text file class.plot2D.php Class Class file for drawing onto image
Plain text file example.php Example example.php

 Version Control Unique User Downloads Download Rankings  
 0%Total:229All time:7,010
 This week:1This week:1,521Up