PHP Classes

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

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 244 All time: 7,993 This week: 524Up
Version License PHP version Categories
plot-2d-functions 1.0GNU General Publi...5.0PHP 5, Graphics, Math


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: 34
All time rank: 4123 in Bosnia and Herzegovina Bosnia and Herzegovina
Week rank: 307 Up3 in Bosnia and Herzegovina Bosnia and Herzegovina Equal

  • 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  
This week:0
All time:7,993
This week:524Up