forked from halo-battle/game
Version 1.12
This commit is contained in:
parent
2a066a7498
commit
de31cd3e9a
1373 changed files with 156282 additions and 45238 deletions
|
|
@ -1,26 +0,0 @@
|
|||
<?php
|
||||
include ("../jpgraph.php");
|
||||
include ("../jpgraph_scatter.php");
|
||||
|
||||
$datax = array(3.5,3.7,3,4,6.2,6,3.5,8,14,8,11.1,13.7);
|
||||
$datay = array(20,22,12,13,17,20,16,19,30,31,40,43);
|
||||
$graph = new Graph(300,200,"auto");
|
||||
$graph->img->SetMargin(40,40,40,40);
|
||||
$graph->img->SetAntiAliasing();
|
||||
$graph->SetScale("linlin");
|
||||
$graph->SetShadow();
|
||||
$graph->title->Set("Linked Scatter plot ex1");
|
||||
$graph->title->SetFont(FF_FONT1,FS_BOLD);
|
||||
|
||||
$sp1 = new ScatterPlot($datay,$datax);
|
||||
$sp1->SetLinkPoints(true,"red",2);
|
||||
$sp1->mark->SetType(MARK_FILLEDCIRCLE);
|
||||
$sp1->mark->SetFillColor("navy");
|
||||
$sp1->mark->SetWidth(3);
|
||||
|
||||
$graph->Add($sp1);
|
||||
$graph->Stroke();
|
||||
|
||||
?>
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue