News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Script-Tutorials.com:
Creating a Smooth Curve Graphs with PHP and GD
October 25, 2011 @ 11:27:51

On Script-Tutorials.com there's a new tutorial posted showing you how you can get better curves on your graphs with PHP and GD (the key is in the "CubicSplines" class, providing a few extra calculations to make "splines", a mathematical method for smoothing out values).

Today I have new article for PHP. I will tell you about drawing graphs with GD. Plus - we will smooth our graph with curve lines using cubic splines interpolation method. You can read more about method at Wikipedia.

All of the code is included in the post, ready for cop and pasting - the HTML, CSS plus the PHP to generate the graph, plot the points and apply the cubic splines values. You can check out a live demo of it in action or just download the code and get started on your own.

0 comments voice your opinion now!
smooth curve graph gd tutorial cubic splines


blog comments powered by Disqus

Similar Posts

Design-Ireland.net: Logging Messages to Scribe from PHP

Dutch Web Alliance: The definitive remote debug and unittest with PHPStorm guide: part 6

Master Zend Framework: Using the ClassMap Autoloader for Better Performance

Zend Developer Zone: Migrating applications from PHP 4 to Zend Core 2.5 w/support for IBM Informix

Stefan Mischook's Blog: Creating Custom PHP Functions Video Tutorial - Part 3


Community Events





Don't see your event here?
Let us know!


language install unittest api laravel code community threedevsandamaybe configure podcast series introduction bugfix interview list developer library release application wordpress

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework