Skip to content

MShel/php_polar_graphics_svg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PolarGraphicsSvg

This class can render a math formula as a SVG vector polyline chart.

See example below:

use \svg\Graph;

$data = [
    'canvas_width' => 300,
    'canvas_height' => 300,
    'func' => function ($x) {
        return 100 * sin(8 * $x);
    },
    'brush_color' => 'red',
    'brush_width' => 0.1,
    'step' => 1
];

$graph = new Graph($data);
$graph->render_graph();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages