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 coo…
PHP
Switch branches/tags
Nothing to show
Latest commit 54063a5 Feb 11, 2015 @MShel README.md
Permalink
Failed to load latest commit information.
README.md README.md Feb 11, 2015
example.php fist version added Jun 7, 2013
svg_graphics.php fixed undefined variable in case of drawing by points Jun 7, 2013

README.md

php_polar_graphics_svg

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.