clearTheme(); $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(); ?>