![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
php
lvtouyayayaya
这个作者很懒,什么都没留下…
展开
-
php画图表
最近的项目中需要画双坐标曲线图,搜索了几个php类库pchartjpgraphopen flash chart我最喜欢的,不但图表种类繁多而且有的效果很好,有的还很可爱呢可耐的:http://teethgrinder.co.uk/open-flash-chart/gallery-bar-7.php多数据曲线:http://teethgrinder.co.uk/open-fl原创 2011-11-23 11:59:49 · 635 阅读 · 0 评论 -
用线性回归方法计算直线斜率
//Y坐标值表示设备历史负载$y = array(52.09, 52.4, 53.29, 54.22, 55.15, 55.83, 56.89, 56.98, 57.55, 57.8); //X坐标值表示顺序天数$x = array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10); //计算X和Y均值$ax = array_sum($x)/count($x);$ay转载 2011-12-07 15:09:54 · 15475 阅读 · 0 评论