PHP Classes

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

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 244 All time: 7,996 This week: 524Up
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: 35
All time rank: 4123 in Bosnia and Herzegovina Bosnia and Herzegovina
Week rank: 227 Up2 in Bosnia and Herzegovina Bosnia and Herzegovina Up

Screenshots (1)  
  • cosx.png
  Files folder image Files (4)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:244
This week:0
All time:7,996
This week:524Up