PHP Classes

SVG math functions graphics: Render a math formula as a SVG vectorial chart

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
StarStarStarStar 60%Total: 474 All time: 5,987 This week: 74Up
Version Licenses PHP version Categories
svg-math-graphics 1.4GNU General Publi...5.0PHP 5, Graphics, Math
Description 

Author

This class can render a math formula as a SVG vectorial chart.

It takes a string with a math formula and creates a chart on which it draws a set of lines between consecutive points for the axes. It may use cartesian or polar coordinates.

The class returns the chart data in SVG format. It can also render a chart in SVG format from an array of coordinates passed to the class.

The size of the chart and the size of the steps between each point in the chart are configurable parameters.

Innovation Award
PHP Programming Innovation award nominee
October 2012
Number 2


Prize: One copy of the Zend Studio
SVG is vectorial graphics format. That means that it can represent graphics that once rendered appear with a smooth presentation.

This class provides a solution to render the values of math formulas within a given input value interval.

It uses SVG as output format, so the resulting charts appear very smooth.

Manuel Lemos
Picture of Mikhail
  Performance   Level  
Name: Mikhail is available for providing paid consulting. Contact Mikhail .
Classes: 3 packages by
Country: United States United States
Age: 34
All time rank: 2274314 in United States United States
Week rank: 216 Up24 in United States United States Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

Screenshots (5)  
  • rose.png
  • beautyifull_function
  • flower_function
  • some_func.png
  • svg_cos.png
  Files folder image Files (7)  
File Role Description
Plain text file svg_graphics.php Class class where all svg markup generated
Accessible without login Plain text file example.php Example example of creating svg graph of cosinus function

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:474
This week:0
All time:5,987
This week:74Up
User Ratings User Comments (2)
 All time
Utility:87%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:60%StarStarStarStar
Rank:1205
 
This package is great!! It runs very quickly to tackle very c...
11 years ago (Nick)
70%StarStarStarStar
Very useful!
11 years ago (Anna Soskina)
70%StarStarStarStar