| [ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
1 <?php 2 include ("../jpgraph.php"); 3 include ("../jpgraph_scatter.php"); 4 5 $datay = array(20,22,12,13,17,20,16,19,30,31,40,43); 6 $graph = new Graph(300,200,"auto"); 7 $graph->img->SetMargin(40,40,40,40); 8 $graph->SetScale("textlin"); 9 $graph->SetShadow(); 10 $graph->title->Set("Example 2 of impuls scatter plot"); 11 $graph->title->SetFont(FF_FONT1,FS_BOLD); 12 $graph->xaxis->title->Set("Impuls respons"); 13 $graph->xaxis->title->SetFont(FF_FONT1,FS_BOLD); 14 15 $sp1 = new ScatterPlot($datay);//,$datax); 16 $sp1->mark->SetType(MARK_FILLEDCIRCLE); 17 $sp1->mark->SetFillColor("red"); 18 $sp1->SetImpuls(); 19 $sp1->SetColor("blue"); 20 $sp1->SetWeight(3); 21 $sp1->mark->SetWidth(4); 22 23 $graph->Add($sp1); 24 25 $graph->Stroke(); 26 27 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
| Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |