PHP Classes

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (3 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 233 All time: 7,238 This week: 1,199Up
Version License PHP version Categories  
plot-2d-functions 1.0GNU General Publi...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: 25
All time rank: 4572 in Bosnia and Herzegovina Bosnia and Herzegovina
Week rank: 39 Up3 in Bosnia and Herzegovina Bosnia and Herzegovina Down

  • 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:233All time:7,238
 This week:0This week:1,199Up