[ Index ] |
|
Code source de jpGraph 2.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 7 $graph = new Graph(300,200,"auto"); 8 $graph->SetScale("textlin"); 9 10 $graph->SetShadow(); 11 $graph->img->SetMargin(40,40,40,40); 12 13 $graph->title->Set("Simple mpuls plot"); 14 $graph->title->SetFont(FF_FONT1,FS_BOLD); 15 16 $sp1 = new ScatterPlot($datay); 17 $sp1->mark->SetType(MARK_SQUARE); 18 $sp1->SetImpuls(); 19 20 $graph->Add($sp1); 21 $graph->Stroke(); 22 23 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Nov 24 09:27:55 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |